This class stores a list of access names, types and their dependency connections. More...
#include <openvdb_ax/compiler/AttributeRegistry.h>
| Classes | |
| struct | AccessData | 
| Registered access details, including its name, type and whether a write handle is required.  More... | |
| Public Types | |
| using | Ptr = std::shared_ptr<AttributeRegistry> | 
| using | ConstPtr = std::shared_ptr<const AttributeRegistry> | 
| using | AccessDataVec = std::vector<AccessData> | 
| Public Member Functions | |
| bool | isReadable (const std::string &name, const ast::tokens::CoreType type) const | 
| bool | isWritable (const std::string &name, const ast::tokens::CoreType type) const | 
| Returns whether or not an access is required to be written to. If no access with this name has been registered, returns false. | |
| std::pair< bool, bool > | accessPattern (const std::string &name, const ast::tokens::CoreType type) const | 
| bool | isRegistered (const std::string &name, const ast::tokens::CoreType type) const | 
| Returns whether or not an access is registered. | |
| int64_t | accessIndex (const std::string &name, const ast::tokens::CoreType type) const | 
| Returns whether or not an access is registered. | |
| const AccessData * | get (const std::string &name, const ast::tokens::CoreType type) const | 
| const AccessDataVec & | data () const | 
| Returns a const reference to the vector of registered accesss. | |
| void | print (std::ostream &os) const | 
| Static Public Member Functions | |
| static AttributeRegistry::Ptr | create (const ast::Tree &tree) | 
This class stores a list of access names, types and their dependency connections.
| using AccessDataVec = std::vector<AccessData> | 
| using ConstPtr = std::shared_ptr<const AttributeRegistry> | 
| using Ptr = std::shared_ptr<AttributeRegistry> | 
| 
 | inline | 
Returns whether or not an access is registered.
| name | The name of the access | 
| type | The type of the access | 
| 
 | inline | 
| 
 | inlinestatic | 
| 
 | inline | 
Returns a const reference to the vector of registered accesss.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Returns whether or not an access is registered.
| name | The name of the access | 
| type | The type of the access | 
| 
 | inline | 
Returns whether or not an access is required to be written to. If no access with this name has been registered, returns false.
| name | The name of the access | 
| type | The type of the access | 
| 
 | inline |