HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Bookmark.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: HOM Interface for a CH_Bookmark
7  */
8 
9 #ifndef __HOM_Bookmark_h__
10 #define __HOM_Bookmark_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include <string>
16 #include <vector>
17 
18 class CH_Bookmark;
19 class HOM_Color;
20 
21 SWIGOUT(%rename(Bookmark) HOM_Bookmark;)
22 
24 {
25 public:
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_CONSTRUCT_OBJECT(this) }
30  virtual ~HOM_Bookmark()
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  virtual std::string __repr__() = 0;
34 
35  virtual std::string name() = 0;
36  virtual void setName(const char *name) = 0;
37 
38  virtual int startFrame() = 0;
39  virtual void setStartFrame(int start) = 0;
40 
41  virtual int endFrame() = 0;
42  virtual void setEndFrame(int end) = 0;
43 
44  virtual std::string comment() = 0;
45  virtual void setComment(const char *comment) = 0;
46 
47  virtual HOM_Color color() = 0;
48  virtual void setColor(HOM_Color &color) = 0;
49 
50  virtual bool visible() = 0;
51  virtual void setVisible(bool visible) = 0;
52 
53  virtual int64 sessionId() = 0;
54 
55  virtual bool isTemporary() = 0;
56  virtual void setTemporary(bool temporary) = 0;
57 
58  virtual bool isEnabled() = 0;
59  virtual void enable(bool enabled) = 0;
60 
61  virtual void setMetadata(
62  const std::string &key,
64  HOM_EnumValue &type_hint = HOM_fieldType::NoSuchField)
65  = 0;
66 
67  virtual HOM_UTOptionAny metadata(
68  const std::string &key,
69  HOM_UTOptionAny default_value = HOM_UTOptionAny())
70  = 0;
71 
72  SWIGOUT(%ignore getBookmark;)
73  virtual CH_Bookmark &getBookmark() = 0;
74 };
75 
76 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
hboost::any HOM_UTOptionAny
Definition: HOM_Defines.h:37
GLuint start
Definition: glcorearb.h:475
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
HOM_Bookmark(const HOM_Bookmark &)
Definition: HOM_Bookmark.h:28
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glcorearb.h:2539
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
GLuint GLuint end
Definition: glcorearb.h:475
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
long long int64
Definition: SYS_Types.h:116
GLuint const GLchar * name
Definition: glcorearb.h:786
GLuint color
Definition: glcorearb.h:1261
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Definition: core.h:1131
virtual ~HOM_Bookmark()
Definition: HOM_Bookmark.h:30