HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GOP_GroupParse::GroupCreator Class Reference

#include <GOP_GroupParse.h>

Public Member Functions

 GroupCreator ()
 
 GroupCreator (const GEO_Detail *detail)
 
 GroupCreator (GEO_Detail *detail, bool detached)
 
GA_GroupUPtr createGroup (GA_GroupType type) const
 
template<typename ElemGroup >
UT_UniquePtr< ElemGroup > createElemGroup (GA_GroupType type) const
 
const GEO_DetailgetDetail () const
 

Public Attributes

const GEO_DetailmyConstDetail
 
GEO_DetailmyNonConstDetail
 

Detailed Description

This wrapper of a detail allows parsing of groups on either a const or non-const GA_Detail using the same interface for both. If the detail is const, any new group will be detached. If the detail is non-const, they will be optionally detached.

Definition at line 91 of file GOP_GroupParse.h.

Constructor & Destructor Documentation

GOP_GroupParse::GroupCreator::GroupCreator ( )
inline

Definition at line 94 of file GOP_GroupParse.h.

GOP_GroupParse::GroupCreator::GroupCreator ( const GEO_Detail detail)
inlineexplicit

Definition at line 95 of file GOP_GroupParse.h.

GOP_GroupParse::GroupCreator::GroupCreator ( GEO_Detail detail,
bool  detached 
)
inline

Definition at line 99 of file GOP_GroupParse.h.

Member Function Documentation

template<typename ElemGroup >
UT_UniquePtr<ElemGroup> GOP_GroupParse::GroupCreator::createElemGroup ( GA_GroupType  type) const
inline

Definition at line 109 of file GOP_GroupParse.h.

GA_GroupUPtr GOP_GroupParse::GroupCreator::createGroup ( GA_GroupType  type) const
const GEO_Detail& GOP_GroupParse::GroupCreator::getDetail ( ) const
inline

Definition at line 115 of file GOP_GroupParse.h.

Member Data Documentation

const GEO_Detail* GOP_GroupParse::GroupCreator::myConstDetail

Definition at line 121 of file GOP_GroupParse.h.

GEO_Detail* GOP_GroupParse::GroupCreator::myNonConstDetail

Definition at line 122 of file GOP_GroupParse.h.


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