OpenVDB  9.0.1
Public Member Functions | List of all members
AttributeRegistry::AccessData Struct Reference

Registered access details, including its name, type and whether a write handle is required. More...

#include <openvdb_ax/compiler/AttributeRegistry.h>

Public Member Functions

 AccessData (const Name &name, const ast::tokens::CoreType type, const bool readsFrom, const bool writesTo)
 Storage for access name, type and writesTo details. More...
 
bool reads () const
 
bool writes () const
 
const std::string tokenname () const
 
const std::string & name () const
 
ast::tokens::CoreType type () const
 
const std::vector< const AccessData * > & deps () const
 
const std::vector< const AccessData * > & uses () const
 
bool dependson (const AccessData *data) const
 
bool affectsothers () const
 

Detailed Description

Registered access details, including its name, type and whether a write handle is required.

Constructor & Destructor Documentation

AccessData ( const Name name,
const ast::tokens::CoreType  type,
const bool  readsFrom,
const bool  writesTo 
)
inline

Storage for access name, type and writesTo details.

Parameters
nameThe name of the access
typeThe typename of the access
readsFromWhether the access is read from
writesToWhether the access is written to

Member Function Documentation

bool affectsothers ( ) const
inline
bool dependson ( const AccessData data) const
inline
const std::vector<const AccessData*>& deps ( ) const
inline
const std::string& name ( ) const
inline
bool reads ( ) const
inline
const std::string tokenname ( ) const
inline
ast::tokens::CoreType type ( ) const
inline
const std::vector<const AccessData*>& uses ( ) const
inline
bool writes ( ) const
inline