FBX C++ API Reference
FbxNameFilter Class Reference

#include <fbxobjectfilter.h>

Class Description

This class represents a name filter on an object.

Definition at line 45 of file fbxobjectfilter.h.

+ Inheritance diagram for FbxNameFilter:

Public Member Functions

virtual bool Match (const FbxObject *pObjectPtr) const
 Tells if this filter match the given object. More...
 
- Public Member Functions inherited from FbxObjectFilter
virtual ~FbxObjectFilter ()
 Destructor. More...
 
virtual bool NotMatch (const FbxObject *pObjectPtr) const
 Tells if this filter does NOT match the given object. More...
 

Constructor and Destructor

 FbxNameFilter (const char *pTargetName)
 Constructor. More...
 
virtual ~FbxNameFilter ()
 Destructor. More...
 

Constructor & Destructor Documentation

◆ FbxNameFilter()

FbxNameFilter ( const char *  pTargetName)
inline

Constructor.

Parameters
pTargetNameThe target name.

Definition at line 55 of file fbxobjectfilter.h.

55 : mTargetName( pTargetName ) {};

◆ ~FbxNameFilter()

virtual ~FbxNameFilter ( )
inlinevirtual

Destructor.

Definition at line 58 of file fbxobjectfilter.h.

58 {}

Member Function Documentation

◆ Match()

virtual bool Match ( const FbxObject pObjectPtr) const
inlinevirtual

Tells if this filter match the given object.

Parameters
pObjectPtrThe given object.

Implements FbxObjectFilter.

Definition at line 64 of file fbxobjectfilter.h.

64 { return pObjectPtr ? mTargetName == pObjectPtr->GetName() : false; }
const char * GetName() const
Returns the full name of this object.

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