11 #ifndef __GEO_PackedNameMap__
12 #define __GEO_PackedNameMap__
64 if (myPatterns[i] !=
"*")
66 return myMap.entries() == 0 && myTypeInfoMap.entries() == 0;
72 {
return isEqual(src); }
74 {
return !isEqual(src); }
82 {
return getName(name.c_str()); }
85 const char *getTypeInfo(
const char *
name)
const;
87 {
return getTypeInfo(name.c_str()); }
90 void addMap(
const char *abcName,
const char *houdiniName);
93 void addTypeInfo(
const char *abcName,
const char *typeInfo);
96 void skip(
const char *abcName)
97 { addMap(abcName, NULL); }
107 {
return myPatterns[owner].nonNullBuffer(); }
112 const char *
name)
const;
129 int64 getMemoryUsage(
bool inclusive)
const;
141 MapType myTypeInfoMap;
UT_SymbolMap< UT_String > MapType
bool operator!=(const GEO_PackedNameMap &src) const
const char * getTypeInfo(const std::string &name) const
~LoadContainer() override
LoadContainer(const char *key)
GLsizei const GLchar *const * string
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
A reference counter base class for use with UT_IntrusivePtr.
Map to translate from Alembic attribute names to Houdini names.
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space.
bool operator==(const GEO_PackedNameMap &src) const
GLuint const GLchar * name
bool isDefault() const
Is the name map default (allow all attributes and no renaming)
const char * pattern(GA_AttributeOwner owner) const
Return the attribute type pattern.
GT_API const UT_StringHolder version
const char * getName(const std::string &name) const
GEO_PackedNameMapPtr myNameMap
void skip(const char *abcName)
Avoid adding an attribute of the given name. This is done by.
GLubyte GLubyte GLubyte GLubyte w
UT_StringHolder getSharedDataKey() const override
Returns the key that is used to refer to this shared data.