1 #ifndef COIN_SONODEKITCATALOG_H
2 #define COIN_SONODEKITCATALOG_H
27 #include <Inventor/SoType.h>
28 #include <Inventor/lists/SbList.h>
33 #define SO_CATALOG_NAME_NOT_FOUND -1
38 static void initClass(
void);
43 int getNumEntries(
void)
const;
44 int getPartNumber(
const SbName & name)
const;
45 const SbName & getName(
int part)
const;
47 SoType getType(
int part)
const;
49 SoType getDefaultType(
int part)
const;
51 SbBool isNullByDefault(
int part)
const;
52 SbBool isNullByDefault(
const SbName & name)
const;
54 SbBool isLeaf(
int part)
const;
55 SbBool isLeaf(
const SbName & name)
const;
56 const SbName & getParentName(
int part)
const;
58 int getParentPartNumber(
int part)
const;
59 int getParentPartNumber(
const SbName & name)
const;
60 const SbName & getRightSiblingName(
int part)
const;
61 const SbName & getRightSiblingName(
const SbName & name)
const;
62 int getRightSiblingPartNumber(
int part)
const;
63 int getRightSiblingPartNumber(
const SbName & name)
const;
65 SbBool isList(
int part)
const;
66 SbBool isList(
const SbName & name)
const;
67 SoType getListContainerType(
int part)
const;
69 const SoTypeList & getListItemTypes(
int part)
const;
72 SbBool isPublic(
int part)
const;
73 SbBool isPublic(
const SbName & name)
const;
78 SbBool isdefaultnull,
const SbName & parent,
79 const SbName & rightsibling, SbBool islist,
82 void addListItemType(
int part,
SoType type);
86 void setNullByDefault(
const SbName & name, SbBool nullbydefault);
88 SbBool recursiveSearch(
int part,
const SbName & name,
91 void printCheck(
void)
const;
94 SbBool hasEntry(
const SbName & name)
const;
95 SbBool hasListItemType(
const SbName & name,
SoType type)
const;
96 SbBool reallyAddEntry(
class CatalogItem * newitem);
99 const SbName & name)
const;
109 #endif // !COIN_SONODEKITCATALOG_H
The SoNodekitCatalog class is a container for nodekit layouts.Nodekits store all their hierarchical l...
Definition: SoNodekitCatalog.h:36
The SoTypeList class is a container class for arrays of SoType objects.
Definition: SoTypeList.h:30
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:50
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31