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

Return the status of primitive creation from GT_PrimitiveBuilder. More...

#include <GT_BuilderStatus.h>

Public Member Functions

 GT_BuilderStatus ()
 
 ~GT_BuilderStatus ()
 
void void bool getStatus () const
 Return success or failure. More...
 
const char * getErrors () const
 Return a string of all the errors (may be a NULL ptr for no errors) More...
 
const char * getWarnings () const
 Return a string of all the warnings (may be a NULL ptr for no warnings) More...
 
void addError (const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
 
void void addWarning (const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
 

Detailed Description

Return the status of primitive creation from GT_PrimitiveBuilder.

Examples:
karma_procedurals/BRAY_HdBox.C, and RAY/RAY_DemoGT.C.

Definition at line 18 of file GT_BuilderStatus.h.

Constructor & Destructor Documentation

GT_BuilderStatus::GT_BuilderStatus ( )
inline

Definition at line 20 of file GT_BuilderStatus.h.

GT_BuilderStatus::~GT_BuilderStatus ( )
inline

Definition at line 22 of file GT_BuilderStatus.h.

Member Function Documentation

void GT_BuilderStatus::addError ( const char *  fmt,
  ... 
)

Called in the building API to add errors or warnings

void void GT_BuilderStatus::addWarning ( const char *  fmt,
  ... 
)

Called in the building API to add errors or warnings

const char* GT_BuilderStatus::getErrors ( ) const
inline

Return a string of all the errors (may be a NULL ptr for no errors)

Definition at line 35 of file GT_BuilderStatus.h.

void void bool GT_BuilderStatus::getStatus ( ) const
inline

Return success or failure.

Definition at line 33 of file GT_BuilderStatus.h.

const char* GT_BuilderStatus::getWarnings ( ) const
inline

Return a string of all the warnings (may be a NULL ptr for no warnings)

Definition at line 38 of file GT_BuilderStatus.h.


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