HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_StringKeyframe.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_StringKeyframe_h__
10 #define __HOM_StringKeyframe_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_BaseKeyframe.h"
14 
15 SWIGOUT(%rename(StringKeyframe) HOM_StringKeyframe;)
16 
17 SWIGOUT(%feature("notabstract") HOM_StringKeyframe;)
19 {
20 public:
21 #ifdef SWIG
22 %extend
23 {
25  { return HOM().newStringKeyframe(); }
26 
28  HOM_EnumValue &language = HOM_exprLanguage::Python)
29  { return HOM().newStringKeyframe(value, language); }
30 
31  HOM_StringKeyframe(const std::string &value, double time,
32  HOM_EnumValue &language = HOM_exprLanguage::Python)
33  { return HOM().newStringKeyframe(value, time, language); }
34 
35  HOM_StringKeyframe(const HOM_StringKeyframe &string_keyframe)
36  { return HOM().newStringKeyframe(string_keyframe); }
37 }
38 #else
41  HOM_EnumValue &language = HOM_exprLanguage::Python);
42  HOM_StringKeyframe(const std::string &value, double time,
43  HOM_EnumValue &language = HOM_exprLanguage::Python);
44  HOM_StringKeyframe(const HOM_StringKeyframe &string_keyframe);
45 #endif
46  ~HOM_StringKeyframe() override;
47 
48  std::string __repr__() override;
49 
50  HOM_EnumValue &evaluatedType() override;
51 };
52 
53 #endif
GT_API const UT_StringHolder time
virtual HOM_StringKeyframe * newStringKeyframe()=0
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:349
#define HOM_API
Definition: HOM_API.h:13
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Definition: core.h:1131
HOM_API HOM_Module & HOM()