HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ShelfElement.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_ShelfElement_h__
10 #define __HOM_ShelfElement_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include "HOM_Errors.h"
16 #include "HOM_PtrOrNull.h"
17 #include <string>
18 
19 SWIGOUT(%rename(ShelfElement) HOM_ShelfElement;)
20 
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_DESTRUCT_OBJECT(this) }
30 
31  virtual std::string __repr__() = 0;
32 
33  virtual bool operator==(HOM_PtrOrNull<HOM_ShelfElement> element) = 0;
34  virtual bool operator!=(HOM_PtrOrNull<HOM_ShelfElement> element) = 0;
35 
36  virtual std::string filePath() = 0;
37  virtual void setFilePath(const char *file_path) = 0;
38  virtual std::string name() = 0;
39  virtual void setName(const char *name) = 0;
40  virtual std::string label() = 0;
41  virtual void setLabel(const char *label) = 0;
42  virtual std::string fileLocation() = 0;
43 
44  virtual bool isReadOnly() = 0;
45  virtual void setReadOnly(bool on) = 0;
46 };
47 
48 #endif
49 
virtual ~HOM_ShelfElement()
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
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
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542
HOM_ShelfElement(const HOM_ShelfElement &element)