HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_NetworkItem.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_NetworkItem_h__
10 #define __HOM_NetworkItem_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_EnumModules.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 
17 SWIGOUT(%rename(NetworkItem) HOM_NetworkItem;)
18 
20 {
21 public:
22  HOM_NetworkItem(HOM_EnumValue &network_item_type)
23  : myType(network_item_type)
24  { HOM_CONSTRUCT_OBJECT(this) }
26  : myType(src.myType)
27  { HOM_CONSTRUCT_OBJECT(this) }
28  virtual ~HOM_NetworkItem()
29  { HOM_DESTRUCT_OBJECT(this) }
30 
32  { return myType; }
33 
34 private:
35  HOM_EnumValue &myType;
36 };
37 
38 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
HOM_EnumValue & networkItemType()
virtual ~HOM_NetworkItem()
HOM_NetworkItem(const HOM_NetworkItem &src)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_NetworkItem(HOM_EnumValue &network_item_type)
GLenum src
Definition: glcorearb.h:1793