HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_logging_MemorySink.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_logging_MemorySink_h__
10 #define __HOM_logging_MemorySink_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_logging_Sink.h"
14 #include "HOM_logging_LogEntry.h"
15 #include "HOM_IterableList.h"
16 
17 SWIGOUT(%feature("notabstract") HOM_logging_MemorySink;)
18 SWIGOUT(%rename(_logging_MemorySink) HOM_logging_MemorySink;)
19 
21 {
22 public:
23 #ifdef SWIG
24 %extend {
25  %kwargs HOM_logging_MemorySink;
26  HOM_logging_MemorySink()
27  {
28  return HOM().newMemorySink();
29  }
30 };
31 #else
33  { HOM_CONSTRUCT_OBJECT(this) }
34 #endif
36  { HOM_DESTRUCT_OBJECT(this) }
37 
38  SWIGOUT(virtual std::string __repr__();)
39 
40  SWIGOUT(%newobject logEntries;)
41  virtual HOM_IterableList<HOM_logging_LogEntry> *logEntries() = 0;
42  virtual std::vector<HOM_logging_LogEntry> stealLogEntries() = 0;
43 };
44 
45 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1238
virtual HOM_logging_MemorySink * newMemorySink()=0
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:353
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1237
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
HOM_API HOM_Module & HOM()