Go to the source code of this file.
#define UN_DATA_ID |
( |
|
Class | ) |
|
Value:
{ \
public: \
}; \
\
UN_DataID(ValueType value=INVALID_NUMBER)
Data ID is unique throughout the lifespan of a graph, but only for within the same data class (eg, nodes). Ie, a node may have same data id as a wire. So it's a good idea to keep these type spaces separate. Defines types for various data ID numbers.
Definition at line 218 of file UN_Types.h.
#define UN_DATA_INDEX |
( |
|
Class | ) |
|
Value:
{ \
public: \
}; \
\
UN_DataIndex(ValueType value=INVALID_NUMBER)
An index into a data container, referring to a data object. Indices may be reused for new data objects, if old ones were deleted.
Definition at line 173 of file UN_Types.h.
#define UN_ID_CLEARER |
( |
|
ID | ) |
template <> struct DefaultClearer<ID> : public DefaultClearer<UN_DataID> {}; |
#define UN_INDEX_CLEARER |
( |
|
ID | ) |
template<> struct DefaultClearer<ID>: public DefaultClearer<UN_DataIndex>{}; |
#define UN_NUMBER_FORMATTER |
( |
|
IdOrIndexType | ) |
|
Value:inline size_t format(
char *
buffer,
size_t buffer_size,
const IdOrIndexType &
v) \
{ \
UT::Format::Writer
w(
buffer, buffer_size); \
UT::Format::Formatter
f; \
return f.format(
w, #IdOrIndexType
"({})", {
v.exintValue()}); \
} \
GLint GLint GLsizei GLint GLenum format
GLubyte GLubyte GLubyte GLubyte w
For debug printouts, etc:
Definition at line 237 of file UN_Types.h.
Differentiates between input and output ports.
Enumerator |
---|
Invalid |
|
Input |
|
Output |
|
Definition at line 308 of file UN_Types.h.