HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DD_Data.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: DD_Data.h
7  *
8  * COMMENTS:
9  * This class is a simple wrapper
10  * to hide the data matching routine
11  */
12 
13 #ifndef __DD_Data__
14 #define __DD_Data__
15 
16 #include "DD_API.h"
17 
18 class UT_JSONValue;
19 
21 {
22 public:
23 
24  // built from common defines
25 
26  static bool isText(const char *label);
27  static bool isJSON(const char *label);
28  static bool isChannelPath(const char *label);
29  static bool isParmPath(const char *label);
30  static bool isOpPath(const char *label);
31  static bool isPrimPath(const char *label);
32  static bool isItemPath(const char *label);
33  static bool isTrackPath(const char *label);
34  static bool isPersistentHandlePath(const char *label);
35  static bool isChannelGroupList(const char *label);
36  static bool isSITreeNodes(const char *label);
37  static bool isFlagPath(const char *label);
38  static bool isTakeName(const char *label);
39  static bool isGalleryEntry(const char *label);
40  static bool isGalleryEntryName(const char *label);
41  static bool isShelfTool(const char *label);
42  static bool isShelfToolName(const char *label);
43  static bool isShelfToolButton(const char *label);
44  static bool isShelfToolbar(const char *label);
45  static bool isShelfToolbarName(const char *label);
46  static bool isDesktopNode(const char *label);
47  static bool isDesktopNodeName(const char *label);
48  static bool isDopDataPython(const char *label);
49  static bool isDopDataHscriptFloat(const char *label);
50  static bool isDopDataHscriptString(const char *label);
51  static bool isAssetGalleryEntryType(const char* label);
52  static bool isAssetGuidType(const char *label);
53  static bool isAssetToolNameType(const char *label);
54  static bool isFolderGuidType(const char *label);
55  static bool isVisualizer(const char *label);
56  static bool isUsdPrimPath(const char *label);
57  static bool isUsdPrimPython(const char *label);
58  static bool isUsdPropertyPath(const char *label);
59  static bool isUsdPropertyPython(const char *label);
60  static bool isOpPathAndUsdPrimPath(const char *label);
61  static bool isWorkItemID(const char *label);
62  static bool isUniNodeID(const char *label);
63  static bool isMultiparmInstance(const char *label);
64 
65  // general match routine
66  static bool isMatch(const char *label, const char *test);
67 
68  static bool extractAssetGalleryBlindData(
69  const char *mime_json,
70  UT_JSONValue &blind_data_out,
71  int index = 0);
72 };
73 
74 #endif
75 
cvex test(vector P=0;int unbound=3;export float s=0;export vector Cf=0;)
Definition: test.vfl:11
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
#define DD_API
Definition: DD_API.h:10
GLuint index
Definition: glcorearb.h:786
Class to store JSON objects as C++ objects.
Definition: UT_JSONValue.h:99