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

#include <UT_CPIO.h>

Public Member Functions

 UT_CPIO ()
 
virtual ~UT_CPIO ()
 
virtual int open (UT_IStream &is, UT_WorkBuffer &pathname)
 
int open (UT_IStream &is, UT_String &pathname)
 
int openPostCheckNormal (UT_IStream &is, UT_WorkBuffer &pathname)
 
int openPostCheckExtended (UT_IStream &is, UT_WorkBuffer &pathname)
 
virtual UT_IStreamread (UT_IStream &is)
 
virtual int skip (UT_IStream &is)
 
virtual int close (UT_IStream &is)
 
virtual std::ostream * open ()
 
virtual int close (std::ostream &os, const char *path, int bin=0, exint modtime=-1)
 
virtual int open (std::ostream &os, const char *path, int bin=0, exint modtime=-1)
 
virtual int close (std::ostream &os)
 
virtual int writeTrailer (std::ostream &os, exint modtime=-1)
 
exint getFileSize () const
 
exint getModTime () const
 

Protected Attributes

UT_WorkBuffer myCurrentFile
 
UT_UniquePtr< UT_IStreammyIs
 
UT_UniquePtr< UT_OStringStreammyOs
 
exint myModTime
 
exint myFileSize
 
exint myHeaderStart
 
exint myHeaderEnd
 
bool myPacketTainted
 

Detailed Description

Examples:
SOP/SOP_BlindData.C, and SOP/SOP_CustomBrush.C.

Definition at line 111 of file UT_CPIO.h.

Constructor & Destructor Documentation

UT_CPIO::UT_CPIO ( )
virtual UT_CPIO::~UT_CPIO ( )
virtual

Member Function Documentation

virtual int UT_CPIO::close ( UT_IStream is)
virtual
virtual int UT_CPIO::close ( std::ostream &  os,
const char *  path,
int  bin = 0,
exint  modtime = -1 
)
virtual
virtual int UT_CPIO::close ( std::ostream &  os)
virtual
exint UT_CPIO::getFileSize ( ) const
inline

Definition at line 155 of file UT_CPIO.h.

exint UT_CPIO::getModTime ( ) const
inline

Definition at line 156 of file UT_CPIO.h.

virtual int UT_CPIO::open ( UT_IStream is,
UT_WorkBuffer pathname 
)
virtual
int UT_CPIO::open ( UT_IStream is,
UT_String pathname 
)
inline

Definition at line 118 of file UT_CPIO.h.

virtual std::ostream* UT_CPIO::open ( )
virtual
virtual int UT_CPIO::open ( std::ostream &  os,
const char *  path,
int  bin = 0,
exint  modtime = -1 
)
virtual
int UT_CPIO::openPostCheckExtended ( UT_IStream is,
UT_WorkBuffer pathname 
)
int UT_CPIO::openPostCheckNormal ( UT_IStream is,
UT_WorkBuffer pathname 
)
virtual UT_IStream* UT_CPIO::read ( UT_IStream is)
virtual
virtual int UT_CPIO::skip ( UT_IStream is)
virtual
virtual int UT_CPIO::writeTrailer ( std::ostream &  os,
exint  modtime = -1 
)
virtual

Member Data Documentation

UT_WorkBuffer UT_CPIO::myCurrentFile
protected

Definition at line 159 of file UT_CPIO.h.

exint UT_CPIO::myFileSize
protected

Definition at line 163 of file UT_CPIO.h.

exint UT_CPIO::myHeaderEnd
protected

Definition at line 165 of file UT_CPIO.h.

exint UT_CPIO::myHeaderStart
protected

Definition at line 164 of file UT_CPIO.h.

UT_UniquePtr<UT_IStream> UT_CPIO::myIs
protected

Definition at line 160 of file UT_CPIO.h.

exint UT_CPIO::myModTime
protected

Definition at line 162 of file UT_CPIO.h.

UT_UniquePtr<UT_OStringStream> UT_CPIO::myOs
protected

Definition at line 161 of file UT_CPIO.h.

bool UT_CPIO::myPacketTainted
protected

Definition at line 166 of file UT_CPIO.h.


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