HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_Detail::IOStatus Class Reference

#include <GA_Detail.h>

Public Member Functions

 IOStatus (bool success=false)
 
 IOStatus (const IOStatus &src)
 
 ~IOStatus ()
 
IOStatusoperator= (const IOStatus &src)
 
bool success () const
 
SYS_SAFE_BOOL operator bool () const
 bool operator More...
 
int gbstatus () const
 

Detailed Description

This class is used to return the status from I/O operations on a GA_Detail.

Examples:
field3d/f3d_io.C, field3d/f3d_io.h, field3d/GEO_Field3DTranslator.C, and GEO/GEO_VoxelTranslator.C.

Definition at line 1833 of file GA_Detail.h.

Constructor & Destructor Documentation

GA_Detail::IOStatus::IOStatus ( bool  success = false)
inline

Definition at line 1836 of file GA_Detail.h.

GA_Detail::IOStatus::IOStatus ( const IOStatus src)
inline

Definition at line 1839 of file GA_Detail.h.

GA_Detail::IOStatus::~IOStatus ( )
inline

Definition at line 1842 of file GA_Detail.h.

Member Function Documentation

int GA_Detail::IOStatus::gbstatus ( ) const
inline

For backward compatibility in older code, you can query the status as an integer, 0 for success, less than zero for failure.

Definition at line 1860 of file GA_Detail.h.

SYS_SAFE_BOOL GA_Detail::IOStatus::operator bool ( ) const
inline

bool operator

Definition at line 1856 of file GA_Detail.h.

IOStatus& GA_Detail::IOStatus::operator= ( const IOStatus src)
inline

Definition at line 1844 of file GA_Detail.h.

bool GA_Detail::IOStatus::success ( ) const
inline

Return a boolean for success or failure. true means success

Examples:
packedshareddata/packedshareddata.C, packedsphere/packedsphere.C, and RAY/RAY_DemoFile.C.

Definition at line 1853 of file GA_Detail.h.


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