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

Represents a data source for the override script input argument binding. More...

#include <STY_BindingDataSource.h>

+ Inheritance diagram for STY_BindingDataSource:

Public Member Functions

virtual ~STY_BindingDataSource ()
 
virtual bool getOverrideBindingInfo (STY_BindingDataInfo &data_info) const
 
virtual bool getOverrideBindingData (UT_IntArray &data) const
 Gets the int array data and returns true on success. More...
 
virtual bool getOverrideBindingData (UT_FprealArray &data) const
 Gets the float array data and returns true on success. More...
 
virtual bool getOverrideBindingData (UT_StringArray &data) const
 Gets the string array data and returns true on success. More...
 
STY_BindingHandle createConstantBinding (const UT_StringHolder &arg_name) const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< STY_BindingDataSource >
SYS_FORCE_INLINE UT_IntrusiveRefCounter ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

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_BindingDataSource >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Represents a data source for the override script input argument binding.

Definition at line 24 of file STY_BindingDataSource.h.

Constructor & Destructor Documentation

virtual STY_BindingDataSource::~STY_BindingDataSource ( )
virtual

Member Function Documentation

STY_BindingHandle STY_BindingDataSource::createConstantBinding ( const UT_StringHolder arg_name) const

Creates a STY_Binding set to a contsant value equivalent to the data returned by this source.

virtual bool STY_BindingDataSource::getOverrideBindingData ( UT_IntArray data) const
virtual

Gets the int array data and returns true on success.

virtual bool STY_BindingDataSource::getOverrideBindingData ( UT_FprealArray data) const
virtual

Gets the float array data and returns true on success.

virtual bool STY_BindingDataSource::getOverrideBindingData ( UT_StringArray data) const
virtual

Gets the string array data and returns true on success.

virtual bool STY_BindingDataSource::getOverrideBindingInfo ( STY_BindingDataInfo data_info) const
virtual

Returns true if the subject can provide data given its name. If so, it also returns the type of the data and the tuple size.


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