HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_anonstats.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_anonstats_h__
10 #define __HOM_anonstats_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 
16 SWIGOUT(%rename(anonstats) HOM_anonstats;)
18 {
19 public:
20  virtual ~HOM_anonstats()
21  {}
22 
23  virtual std::string __repr__() = 0;
24 
25  virtual void recordOccurrence(const char *key) = 0;
26 
27  virtual void recordString(const char *key, const char *value) = 0;
28 
29  virtual bool hasString(const char *key) = 0;
30 
31  virtual std::string getString(const char *key) = 0;
32 
33  virtual void incrementCount(const char *key, int count=1) = 0;
34 
35  virtual void logEvent(const char *key, const char *message) = 0;
36 
37  virtual void addSum(const char *key, const double stat_value, int count=1) = 0;
38 };
39 
40 #endif
GLuint GLsizei const GLchar * message
Definition: glcorearb.h:2543
virtual ~HOM_anonstats()
Definition: HOM_anonstats.h:20
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
GLint GLsizei count
Definition: glcorearb.h:405