HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_NetworkFootprint.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_NetworkFootprint_h__
10 #define __HOM_NetworkFootprint_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_Color.h"
17 #include "HOM_EnumValue.h"
18 #include <UT/UT_Color.h>
19 #include <UT/UT_StringHolder.h>
20 #include <string>
21 
22 SWIGOUT(%rename(NetworkFootprint) HOM_NetworkFootprint;)
23 
25 {
26 public:
28  HOM_EnumValue *flag,
29  const HOM_Color &color,
30  int ring,
31  bool use_minimum_size)
32  : myFlag(flag),
33  myNodeType(),
34  myColor(color.myColor),
35  myRing(ring),
36  myUseMinimumSize(use_minimum_size)
37  { HOM_CONSTRUCT_OBJECT(this) }
38 
40  const char *node_type,
41  const HOM_Color &color,
42  int ring,
43  bool use_minimum_size)
44  : myFlag(NULL),
45  myNodeType(node_type),
46  myColor(color.myColor),
47  myRing(ring),
48  myUseMinimumSize(use_minimum_size)
49  { HOM_CONSTRUCT_OBJECT(this) }
50 
52  { HOM_DESTRUCT_OBJECT(this) }
53 
55 
56  SWIGOUT(%ignore myFlag;)
57  HOM_EnumValue *myFlag;
58  SWIGOUT(%ignore myNodeType;)
59  UT_StringHolder myNodeType;
60  SWIGOUT(%ignore myColor;)
61  UT_Color myColor;
62  SWIGOUT(%ignore myRing;)
63  int myRing;
64  SWIGOUT(%ignore myUseMinimumSize;)
65  bool myUseMinimumSize;
66 };
67 
68 #endif
69 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
GLuint color
Definition: glcorearb.h:1261
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_NetworkFootprint(const char *node_type, const HOM_Color &color, int ring, bool use_minimum_size)
HOM_NetworkFootprint(HOM_EnumValue *flag, const HOM_Color &color, int ring, bool use_minimum_size)