HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
APEX_Names.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: APEX_Names.h (APEX Library, C++)
7 *
8 * COMMENTS: Cached UT_StringLit strings for common apex names,
9 * so that the hash and length only get computed once,
10 * and equality can be checked using the pointers first.
11 */
12 
13 #pragma once
14 
15 #ifndef __APEX_NAMES_H__
16 #define __APEX_NAMES_H__
17 
18 #include <UT/UT_StringHolder.h>
19 
20 namespace APEX_Names
21 {
22 
23 inline constexpr UT_StringLit theGraphParmsName = "__parms__";
24 inline constexpr UT_StringLit theBindingName = "__binding__"; // deprecated, replaced by theOutputName
25 inline constexpr UT_StringLit theOutputName = "__output__";
26 inline constexpr UT_StringLit theSubnetName = "__subnet__";
27 inline constexpr UT_StringLit theNullName = "__null__";
28 inline constexpr UT_StringLit theStickyNoteName = "__stickynote__";
29 inline constexpr UT_StringLit theSubGraphGeoPath = "<subgraph>";
30 inline constexpr UT_StringLit theGraphExt = ".graph";
31 
32 // APEX Graph Geometry Attributes
33 inline constexpr UT_StringLit theCallbackAttribName = "callback";
34 inline constexpr UT_StringLit theCdAttribName = "Cd";
35 inline constexpr UT_StringLit theCommentAttribName = "comment";
36 inline constexpr UT_StringLit theNameAttribName = "name";
37 inline constexpr UT_StringLit theOutputAttribName = "output";
38 inline constexpr UT_StringLit theParmsAttribName = "parms";
39 inline constexpr UT_StringLit thePropertiesAttribName = "properties";
40 inline constexpr UT_StringLit thePortAliasAttribName = "portalias";
41 inline constexpr UT_StringLit thePortIndexAttribName = "portindex";
42 inline constexpr UT_StringLit thePortNameAttribName = "portname";
43 inline constexpr UT_StringLit theTagsAttribName = "tags";
44 inline constexpr UT_StringLit theTypeHintAttribName = "typehint";
45 
46 // Optional Debugging APEX Graph Geometry Attributes
47 inline constexpr UT_StringLit theDebugMemAttribName = "__mem__";
48 inline constexpr UT_StringLit theDebugPortsAttribName = "__ports__";
49 inline constexpr UT_StringLit theDebugScopeIDAttribName = "__scopeid__";
50 inline constexpr UT_StringLit theDebugGraphParmsAttribName = "__debugparms__";
51 
52 } // namespace APEX_Names
53 
54 #endif // __APEX_NAMES_H__
constexpr UT_StringLit theNameAttribName
Definition: APEX_Names.h:36
constexpr UT_StringLit theTypeHintAttribName
Definition: APEX_Names.h:44
constexpr UT_StringLit theDebugGraphParmsAttribName
Definition: APEX_Names.h:50
constexpr UT_StringLit theOutputAttribName
Definition: APEX_Names.h:37
constexpr UT_StringLit theDebugScopeIDAttribName
Definition: APEX_Names.h:49
constexpr UT_StringLit theStickyNoteName
Definition: APEX_Names.h:28
constexpr UT_StringLit theSubnetName
Definition: APEX_Names.h:26
constexpr UT_StringLit theDebugPortsAttribName
Definition: APEX_Names.h:48
constexpr UT_StringLit theNullName
Definition: APEX_Names.h:27
constexpr UT_StringLit theSubGraphGeoPath
Definition: APEX_Names.h:29
constexpr UT_StringLit thePropertiesAttribName
Definition: APEX_Names.h:39
constexpr UT_StringLit theTagsAttribName
Definition: APEX_Names.h:43
constexpr UT_StringLit theOutputName
Definition: APEX_Names.h:25
constexpr UT_StringLit thePortNameAttribName
Definition: APEX_Names.h:42
constexpr UT_StringLit theGraphParmsName
Definition: APEX_Names.h:23
constexpr UT_StringLit thePortAliasAttribName
Definition: APEX_Names.h:40
constexpr UT_StringLit theCdAttribName
Definition: APEX_Names.h:34
constexpr UT_StringLit thePortIndexAttribName
Definition: APEX_Names.h:41
constexpr UT_StringLit theCallbackAttribName
Definition: APEX_Names.h:33
constexpr UT_StringLit theDebugMemAttribName
Definition: APEX_Names.h:47
constexpr UT_StringLit theGraphExt
Definition: APEX_Names.h:30
constexpr UT_StringLit theCommentAttribName
Definition: APEX_Names.h:35
constexpr UT_StringLit theParmsAttribName
Definition: APEX_Names.h:38
constexpr UT_StringLit theBindingName
Definition: APEX_Names.h:24