HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XUSD_AutoCollection Class Referenceabstract

#include <XUSD_AutoCollection.h>

+ Inheritance diagram for XUSD_AutoCollection:

Public Member Functions

 XUSD_AutoCollection (const UT_StringHolder &collectionname, const UT_StringArray &orderedargs, const UT_StringMap< UT_StringHolder > &namedargs, HUSD_AutoAnyLock &lock, HUSD_PrimTraversalDemands demands, int nodeid, const HUSD_TimeCode &timecode)
 
virtual ~XUSD_AutoCollection ()
 
virtual bool randomAccess () const =0
 
virtual void matchPrimitives (XUSD_PathSet &matches) const
 
virtual bool matchRandomAccessPrimitive (const SdfPath &path, bool *prune_branch) const
 
virtual bool getMayBeTimeVarying () const
 
const UT_StringHoldergetTokenParsingError () const
 

Static Public Member Functions

static bool parseBool (const UT_StringRef &str)
 
static bool parseInt (const UT_StringRef &str, exint &i)
 
static bool parseFloat (const UT_StringRef &str, fpreal64 &flt)
 
static bool parseVector2 (const UT_StringRef &str, UT_Vector2D &vec)
 
static bool parseVector3 (const UT_StringRef &str, UT_Vector3D &vec)
 
static bool parseVector4 (const UT_StringRef &str, UT_Vector4D &vec)
 
static bool parseTimeRange (const UT_StringRef &str, fpreal64 &tstart, fpreal64 &tend, fpreal64 &tstep)
 
static bool parsePattern (const UT_StringRef &str, HUSD_AutoAnyLock &lock, HUSD_PrimTraversalDemands demands, int nodeid, const HUSD_TimeCode &timecode, XUSD_PathSet &paths, bool *timevaryingflag)
 
static bool parsePatternSingleResult (const UT_StringRef &str, HUSD_AutoAnyLock &lock, HUSD_PrimTraversalDemands demands, int nodeid, const HUSD_TimeCode &timecode, SdfPath &path, bool *timevaryingflag)
 
static bool canCreateAutoCollection (const char *token)
 
static XUSD_AutoCollectioncreate (const char *token, HUSD_AutoAnyLock &lock, HUSD_PrimTraversalDemands demands, int nodeid, const HUSD_TimeCode &timecode)
 
static void registerPlugins ()
 
static void registerPlugin (XUSD_AutoCollectionFactory *factory)
 

Protected Attributes

UT_StringArray myOrderedArgs
 
UT_StringMap< UT_StringHoldermyNamedArgs
 
bool myMayBeTimeVaryingSubPattern
 
HUSD_AutoAnyLockmyLock
 
HUSD_PrimTraversalDemands myDemands
 
int myNodeId
 
UsdTimeCode myUsdTimeCode
 
HUSD_TimeCode myHusdTimeCode
 
UT_StringHolder myTokenParsingError
 

Detailed Description

Definition at line 92 of file XUSD_AutoCollection.h.

Constructor & Destructor Documentation

XUSD_AutoCollection::XUSD_AutoCollection ( const UT_StringHolder collectionname,
const UT_StringArray orderedargs,
const UT_StringMap< UT_StringHolder > &  namedargs,
HUSD_AutoAnyLock lock,
HUSD_PrimTraversalDemands  demands,
int  nodeid,
const HUSD_TimeCode timecode 
)
virtual XUSD_AutoCollection::~XUSD_AutoCollection ( )
virtual

Member Function Documentation

static bool XUSD_AutoCollection::canCreateAutoCollection ( const char *  token)
static
static XUSD_AutoCollection* XUSD_AutoCollection::create ( const char *  token,
HUSD_AutoAnyLock lock,
HUSD_PrimTraversalDemands  demands,
int  nodeid,
const HUSD_TimeCode timecode 
)
static
virtual bool XUSD_AutoCollection::getMayBeTimeVarying ( ) const
inlinevirtual

Definition at line 121 of file XUSD_AutoCollection.h.

const UT_StringHolder& XUSD_AutoCollection::getTokenParsingError ( ) const
inline

Definition at line 124 of file XUSD_AutoCollection.h.

virtual void XUSD_AutoCollection::matchPrimitives ( XUSD_PathSet matches) const
inlinevirtual

Reimplemented in XUSD_SimpleAutoCollection.

Definition at line 111 of file XUSD_AutoCollection.h.

virtual bool XUSD_AutoCollection::matchRandomAccessPrimitive ( const SdfPath path,
bool *  prune_branch 
) const
inlinevirtual

Reimplemented in XUSD_RandomAccessAutoCollection.

Definition at line 117 of file XUSD_AutoCollection.h.

static bool XUSD_AutoCollection::parseBool ( const UT_StringRef str)
static
static bool XUSD_AutoCollection::parseFloat ( const UT_StringRef str,
fpreal64 flt 
)
static
static bool XUSD_AutoCollection::parseInt ( const UT_StringRef str,
exint i 
)
static
static bool XUSD_AutoCollection::parsePattern ( const UT_StringRef str,
HUSD_AutoAnyLock lock,
HUSD_PrimTraversalDemands  demands,
int  nodeid,
const HUSD_TimeCode timecode,
XUSD_PathSet paths,
bool *  timevaryingflag 
)
static
static bool XUSD_AutoCollection::parsePatternSingleResult ( const UT_StringRef str,
HUSD_AutoAnyLock lock,
HUSD_PrimTraversalDemands  demands,
int  nodeid,
const HUSD_TimeCode timecode,
SdfPath path,
bool *  timevaryingflag 
)
static
static bool XUSD_AutoCollection::parseTimeRange ( const UT_StringRef str,
fpreal64 tstart,
fpreal64 tend,
fpreal64 tstep 
)
static
static bool XUSD_AutoCollection::parseVector2 ( const UT_StringRef str,
UT_Vector2D vec 
)
static
static bool XUSD_AutoCollection::parseVector3 ( const UT_StringRef str,
UT_Vector3D vec 
)
static
static bool XUSD_AutoCollection::parseVector4 ( const UT_StringRef str,
UT_Vector4D vec 
)
static
virtual bool XUSD_AutoCollection::randomAccess ( ) const
pure virtual
static void XUSD_AutoCollection::registerPlugin ( XUSD_AutoCollectionFactory factory)
static
static void XUSD_AutoCollection::registerPlugins ( )
static

Member Data Documentation

HUSD_PrimTraversalDemands XUSD_AutoCollection::myDemands
protected

Definition at line 177 of file XUSD_AutoCollection.h.

HUSD_TimeCode XUSD_AutoCollection::myHusdTimeCode
protected

Definition at line 180 of file XUSD_AutoCollection.h.

HUSD_AutoAnyLock& XUSD_AutoCollection::myLock
protected

Definition at line 176 of file XUSD_AutoCollection.h.

bool XUSD_AutoCollection::myMayBeTimeVaryingSubPattern
protected

Definition at line 175 of file XUSD_AutoCollection.h.

UT_StringMap<UT_StringHolder> XUSD_AutoCollection::myNamedArgs
protected

Definition at line 174 of file XUSD_AutoCollection.h.

int XUSD_AutoCollection::myNodeId
protected

Definition at line 178 of file XUSD_AutoCollection.h.

UT_StringArray XUSD_AutoCollection::myOrderedArgs
protected

Definition at line 173 of file XUSD_AutoCollection.h.

UT_StringHolder XUSD_AutoCollection::myTokenParsingError
protected

Definition at line 181 of file XUSD_AutoCollection.h.

UsdTimeCode XUSD_AutoCollection::myUsdTimeCode
protected

Definition at line 179 of file XUSD_AutoCollection.h.


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