HDK
|
Represents a material defined within a style sheet. More...
#include <STY_Material.h>
Public Member Functions | |
STY_Material (const UT_JSONValue *json, const STY_LoadContext *load_context) | |
~STY_Material () | |
const STY_MaterialProperties & | getProperties () const |
void | saveStyleSheet (UT_JSONValueMap *map) const |
Save this material as JSON to a style sheet. More... | |
Public Member Functions inherited from UT_IntrusiveRefCounter< STY_Material > | |
SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
Default constructor: Sets counter to 0. More... | |
SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
Copy constructor: Sets counter to 0. More... | |
UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
Assignment operator: Does not modify counter. More... | |
SYS_FORCE_INLINE uint32 | use_count () const noexcept |
Return current counter. More... | |
SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Protected Member Functions inherited from UT_IntrusiveRefCounter< STY_Material > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Represents a material defined within a style sheet.
Definition at line 24 of file STY_Material.h.
STY_Material::STY_Material | ( | const UT_JSONValue * | json, |
const STY_LoadContext * | load_context | ||
) |
STY_Material::~STY_Material | ( | ) |
|
inline |
Definition at line 34 of file STY_Material.h.
void STY_Material::saveStyleSheet | ( | UT_JSONValueMap * | map | ) | const |
Save this material as JSON to a style sheet.