61template<
typename T>
inline
77 typeSize(typeSizeBytes),
80 if (typeSizeBytes > 0)
83 if (defaultValue !=
nullptr)
100 name(desc.name), typeSize(desc.typeSize), defVal(desc.defVal)
102 desc.defVal =
nullptr;
113 if (this->
defVal !=
nullptr)
125 this->typeSize = rhs.typeSize;
126 this->defVal = rhs.defVal;
127 this->name = rhs.name;
130 rhs.defVal =
nullptr;
Definition attribute.h:29
Attribute()=default
default constructor
SizeT typeSize
size of type in bytes
Definition attribute.h:51
Util::StringAtom name
name of attribute
Definition attribute.h:49
void operator=(Attribute &&rhs) noexcept
move assignment operator
Definition attribute.h:123
uint32_t externalFlags
externally managed flags
Definition attribute.h:55
~Attribute()
desctructor
Definition attribute.h:111
void * defVal
default value
Definition attribute.h:53
A StringAtom.
Definition stringatom.h:22
Contains declarations for tables and table partitions.
Attribute.
Definition attribute.h:26
void Copy(const void *from, void *to, size_t numBytes)
Copy a chunk of memory (note the argument order is different from memcpy()!!!)
Definition osxmemory.cc:213
void * Alloc(HeapType heapType, size_t size, size_t alignment)
Allocate a block of memory from one of the global heaps.
Definition osxmemory.cc:56
void Free(HeapType heapType, void *ptr)
Free a block of memory.
Definition osxmemory.cc:136
void Clear(void *ptr, size_t numBytes)
Overwrite a chunk of memory with 0's.
Definition osxmemory.cc:229
int SizeT
Definition types.h:49