HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
STY_OverrideCategory Class Reference

#include <STY_OverrideCategory.h>

+ Inheritance diagram for STY_OverrideCategory:

Public Member Functions

 STY_OverrideCategory (const UT_JSONValue *json, const STY_LoadContext *load_context)
 
 STY_OverrideCategory (const STY_OverrideMap &overrides)
 
 ~STY_OverrideCategory ()
 
const STY_OverrideMapgetOverrides () const
 Return a reference to our overrides map. More...
 
void getBindingDataNames (UT_StringArray &names) const
 
void saveStyleSheets (UT_JSONValue *values, const UT_StringHolder &category, STY_TargetMatchClosureHandle *closures, const exint num_values, bool evaluate_scripts, bool allow_shared_scripts) const
 Save this override set as JSON to a style sheet. More...
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< STY_OverrideCategory >
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_IntrusiveRefCounteroperator= (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_NonCopyableoperator= (const UT_NonCopyable &)=delete
 
- Protected Member Functions inherited from UT_IntrusiveRefCounter< STY_OverrideCategory >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Contains a map of property names to the STY_Override objects that specify the property values.

Definition at line 26 of file STY_OverrideCategory.h.

Constructor & Destructor Documentation

STY_OverrideCategory::STY_OverrideCategory ( const UT_JSONValue json,
const STY_LoadContext *  load_context 
)
STY_OverrideCategory::STY_OverrideCategory ( const STY_OverrideMap overrides)
STY_OverrideCategory::~STY_OverrideCategory ( )

Member Function Documentation

void STY_OverrideCategory::getBindingDataNames ( UT_StringArray names) const

Gets data names that the overrde scripts are interested in for their input argument binding.

const STY_OverrideMap& STY_OverrideCategory::getOverrides ( ) const
inline

Return a reference to our overrides map.

Definition at line 37 of file STY_OverrideCategory.h.

void STY_OverrideCategory::saveStyleSheets ( UT_JSONValue values,
const UT_StringHolder category,
STY_TargetMatchClosureHandle closures,
const exint  num_values,
bool  evaluate_scripts,
bool  allow_shared_scripts 
) const

Save this override set as JSON to a style sheet.


The documentation for this class was generated from the following file: