HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UNI_SessionID.h File Reference
#include "UNI_API.h"
#include "UNI_ID.h"
+ Include dependency graph for UNI_SessionID.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UNI_SessionIDCoder
 
class  UNI_SessionID< LOCAL_ID >
 

Macros

#define UNI_SESSION_ID_FORMATTER(UniSesID)
 String formatting ID for debug printouts, etc: More...
 

Typedefs

using UNI_SessionNodeID = UNI_SessionID< UNI_NodeID >
 Aliases for UNI_SessionID template, to be used without template arguments. More...
 
using UNI_SessionPortID = UNI_SessionID< UNI_PortID >
 
using UNI_SessionStickyNoteID = UNI_SessionID< UNI_StickyNoteID >
 
using UNI_SessionWireID = UNI_SessionID< UNI_WireID >
 

Macro Definition Documentation

#define UNI_SESSION_ID_FORMATTER (   UniSesID)
Value:
inline size_t \
UTformatBuffer(char *buffer, size_t buffer_size, const UniSesID &v) \
{ \
UT::Format::Writer w(buffer, buffer_size); \
UT::Format::Formatter f; \
return f.format(w, #UniSesID "({}={}:{})", {v.exintValue(), \
v.graphID().exintValue(), v.localID().exintValue()}); \
} \
inline size_t \
UTformatBuffer(char *buffer, size_t buffer_size, const UT_Array<UniSesID> &v) \
{ \
UT::Format::Writer w(buffer, buffer_size); \
UT::Format::Formatter f; \
size_t bytesWritten = w("UT_Array<" #UniSesID ">([", \
sizeof("UT_Array<" #UniSesID ">([")-1); \
bool first = true; \
for (auto &&item : v) \
{ \
bytesWritten += f.format(w, first ? "{}" : ", {}", \
{item.exintValue()}); \
first = false; \
} \
bytesWritten += w("])", 2); \
return bytesWritten; \
} \
GLint first
Definition: glcorearb.h:405
const GLdouble * v
Definition: glcorearb.h:837
size_t UTformatBuffer(char *buffer, size_t bufsize, const ApexArray< T > &v)
Definition: APEX_COW.h:138
GLuint buffer
Definition: glcorearb.h:660
OutGridT const XformOp bool bool
GLfloat f
Definition: glcorearb.h:1926
GLubyte GLubyte GLubyte GLubyte w
Definition: glcorearb.h:857
* for(int i=0;i< n_subtasks;++i)*tasks.push(pool-> push(myfunc))
Definition: UT_RTreeImpl.h:685

String formatting ID for debug printouts, etc:

Definition at line 87 of file UNI_SessionID.h.

Typedef Documentation

using UNI_SessionNodeID = UNI_SessionID< UNI_NodeID >

Aliases for UNI_SessionID template, to be used without template arguments.

Definition at line 80 of file UNI_SessionID.h.

using UNI_SessionPortID = UNI_SessionID< UNI_PortID >

Definition at line 81 of file UNI_SessionID.h.

using UNI_SessionStickyNoteID = UNI_SessionID< UNI_StickyNoteID >

Definition at line 82 of file UNI_SessionID.h.

using UNI_SessionWireID = UNI_SessionID< UNI_WireID >

Definition at line 83 of file UNI_SessionID.h.