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

#include <GU_AgentSubjectShape.h>

+ Inheritance diagram for GU_AgentSubjectShape:

Public Member Functions

 GU_AgentSubjectShape (const GU_AgentLayer::ShapeBinding &shape, const GU_PrimPacked *agent_prim=NULL)
 
STY_TargetMatchStatus matchesStyleTarget (const STY_TargetHandle &target) const override
 Returns the information wheter the subject matches the given target. More...
 
STY_BindingDataSourceHandle getOverrideBindingDataSource (const UT_StringHolder &data_name) const override
 
- Public Member Functions inherited from STY_Subject
virtual ~STY_Subject ()
 
virtual STY_StyleSheetHandle getPreFilterStyleSheet () const
 
virtual STY_StyleSheetHandle getPostFilterStyleSheet () const
 
virtual UT_StringHolder getSourceLocation () const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< STY_Subject >
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
 

Protected Member Functions

UT_StringHolder getSubjectName () const override
 
int64 getSubjectID () const override
 
- Protected Member Functions inherited from STY_SubjectNamed
bool matchesNameHelper (const char *name) const
 
bool matchesFullPathHelper (STY_TargetMatchStatus &match, const STY_TargetHandle &target) const
 
- Protected Member Functions inherited from STY_Subject
STY_TargetMatchStatus matchesPathHelper (const UT_StringRef &path, const STY_TargetHandle &target, char separator) const
 Helper for handling path requirement. More...
 
- Protected Member Functions inherited from UT_IntrusiveRefCounter< STY_Subject >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Definition at line 20 of file GU_AgentSubjectShape.h.

Constructor & Destructor Documentation

GU_AgentSubjectShape::GU_AgentSubjectShape ( const GU_AgentLayer::ShapeBinding shape,
const GU_PrimPacked agent_prim = NULL 
)

Member Function Documentation

STY_BindingDataSourceHandle GU_AgentSubjectShape::getOverrideBindingDataSource ( const UT_StringHolder data_name) const
overridevirtual

Returns a source object that can provide data for the given data name. Eg, style subject representing a primitive can provide primitive attribute data.

Reimplemented from STY_Subject.

int64 GU_AgentSubjectShape::getSubjectID ( ) const
inlineoverrideprotectedvirtual

Implements STY_SubjectNamed.

Definition at line 44 of file GU_AgentSubjectShape.h.

UT_StringHolder GU_AgentSubjectShape::getSubjectName ( ) const
inlineoverrideprotectedvirtual

Implements STY_SubjectNamed.

Definition at line 38 of file GU_AgentSubjectShape.h.

STY_TargetMatchStatus GU_AgentSubjectShape::matchesStyleTarget ( const STY_TargetHandle target) const
overridevirtual

Returns the information wheter the subject matches the given target.

Implements STY_Subject.


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