Public Member Functions | Public Attributes

FBNamespace Class Reference

This reference page is linked to from the following overview topics: MotionBuilder 2013.


Search for all occurrences

Detailed Description

Objects Containing class.

This class is an interface to manipulate object's containing in the scene.

Definition at line 79 of file fbnamespace.h.

#include <fbnamespace.h>

Inheritance diagram for FBNamespace:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  FBNamespace (const char *pMultiLevelNamespace, HIObject pObject)
  Constructor.
  FBNamespace (const char *pSingleLevelNamespace, FBNamespace *pParentNSObj)
  Constructor.
int  GetContentCount () const
  Get the namespace content objects count (Not Recursive).
FBComponent GetContent (int pIndex) const
  Get the namespace content object count (Not Recursive).
void  GetContentList (FBComponentList &pContentList, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false)
  Get List of the namespace content.

Public Attributes

FBPropertyListNamespace  ChildrenNamespaces
  List: Direct Children Namespace Objects.

Constructor & Destructor Documentation

FBNamespace ( const char *  pMultiLevelNamespace,
HIObject  pObject 
)

Constructor.

For Internal use only.

Parameters:
pMultiLevelNamespace FBNamespace name. This name will be used as namespace itself. it should follow such pattern "NS1[:NS2[:NS3]]]", where content inside [] is optional.
pObject For internal use only.
FBNamespace ( const char *  pSingleLevelNamespace,
FBNamespace pParentNSObj 
)

Constructor.

Create a new direct children namespace object

Parameters:
pSingleLevelNamespace FBNamespace name. This name will be used as namespace itself. this name string shouldn't contain namespace string separator ":".
pParentNSObj the parent namespace object. if NULl means to create top level namespace.

Member Function Documentation

int GetContentCount ( ) const

Get the namespace content objects count (Not Recursive).

return content objects count inside this namespace (not recursive)

FBComponent* GetContent ( int  pIndex ) const

Get the namespace content object count (Not Recursive).

Parameters:
content object index to query. return content object inside this namespace (not recursive)
void GetContentList ( FBComponentList pContentList,
FBPlugModificationFlag  pModificationFlags = kFBPlugAllContent,
bool  pRecursive = true,
int  pTypeInfo = FBPlug::TypeInfo,
bool  pExactTypeMatch = false 
)

Get List of the namespace content.

Parameters:
pContentList the list of content to return.
pModificationFlags bitwise combination of kFBConnectionSrcObjectModified, kFBConnectionDstObjectModified, kFBConnectionSrcPropertyModified, kFBConnectionDstPropertyModified flags. kFBAllContent means all the content.
pRecursive True only work on the direct children level namespace, otherwise will work on the whole children namespace hierarchy recursively.
pTypeInfo the typeInfo of the type of interested object, 0 for all the objects.
pExactTypeMatch if True, the derived typeInfo won't be considered (For example, FBCamera won't be considered when passing FBModel::TypeInfo).

Member Data Documentation

List: Direct Children Namespace Objects.

Definition at line 121 of file fbnamespace.h.


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

FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace
FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace FBNamespace