FaceGen 3 SDKs Reference
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Fg::FutBinaryFileC Class Reference

Public Member Functions

 FutBinaryFileC (std::string)
 
void changeFileId (const std::string &newFileId)
 
bool openForRead (String8 const &)
 
bool openForOverwrite (String8 const &)
 
bool writeHeader (const void *data, uint size, uint num)
 
bool readHeader (void *data, uint size, uint num)
 
bool write (const void *data, uint size, uint num)
 
bool read (void *data, uint size, uint num)
 
bool seek (long offsetFromBeginning)
 
void close ()
 
bool valid () const
 
bool operator! () const
 
bool eof ()
 

Protected Member Functions

 FutBinaryFileC (FutBinaryFileC &)
 
FutBinaryFileCoperator= (FutBinaryFileC &)
 

Protected Attributes

String8 m_fname
 
std::string fileId
 
FILE * fptr
 

Detailed Description

Definition at line 16 of file binaryFile.hpp.

Constructor & Destructor Documentation

◆ ~FutBinaryFileC()

Fg::FutBinaryFileC::~FutBinaryFileC ( )
inline

Definition at line 23 of file binaryFile.hpp.

Member Function Documentation

◆ changeFileId()

void Fg::FutBinaryFileC::changeFileId ( const std::string &  newFileId)

Definition at line 29 of file binaryFile.cpp.

◆ close()

void Fg::FutBinaryFileC::close ( )

Definition at line 165 of file binaryFile.cpp.

◆ eof()

bool Fg::FutBinaryFileC::eof ( )

Definition at line 175 of file binaryFile.cpp.

◆ openForOverwrite()

bool Fg::FutBinaryFileC::openForOverwrite ( String8 const &  a_fname)

Definition at line 77 of file binaryFile.cpp.

◆ openForRead()

bool Fg::FutBinaryFileC::openForRead ( String8 const &  a_fname)

Definition at line 41 of file binaryFile.cpp.

◆ operator!()

bool Fg::FutBinaryFileC::operator! ( ) const
inline

Definition at line 50 of file binaryFile.hpp.

◆ read()

bool Fg::FutBinaryFileC::read ( void *  data,
uint  size,
uint  num 
)

Definition at line 139 of file binaryFile.cpp.

◆ readHeader()

bool Fg::FutBinaryFileC::readHeader ( void *  data,
uint  size,
uint  num 
)

Definition at line 114 of file binaryFile.cpp.

◆ seek()

bool Fg::FutBinaryFileC::seek ( long  offsetFromBeginning)

Definition at line 153 of file binaryFile.cpp.

◆ valid()

bool Fg::FutBinaryFileC::valid ( ) const
inline

Definition at line 49 of file binaryFile.hpp.

◆ write()

bool Fg::FutBinaryFileC::write ( const void *  data,
uint  size,
uint  num 
)

Definition at line 128 of file binaryFile.cpp.

◆ writeHeader()

bool Fg::FutBinaryFileC::writeHeader ( const void *  data,
uint  size,
uint  num 
)

Definition at line 98 of file binaryFile.cpp.

Member Data Documentation

◆ fileId

std::string Fg::FutBinaryFileC::fileId
protected

Definition at line 55 of file binaryFile.hpp.

◆ fptr

FILE* Fg::FutBinaryFileC::fptr
protected

Definition at line 56 of file binaryFile.hpp.

◆ m_fname

String8 Fg::FutBinaryFileC::m_fname
protected

Definition at line 54 of file binaryFile.hpp.


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