My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::control::ArchiverWriterDirfile::Register Struct Reference

Public Member Functions

 Register (RegMapBlock *block, ArrRegMap *arrRegMap, unsigned startEl, unsigned nEl, unsigned char *base, bool writeIndex, unsigned nBuffer)
 
 Register (const Register &reg)
 
int open (char *dir)
 
void close ()
 
void flush ()
 
int write ()
 
std::string format ()
 

Public Attributes

std::string name_
 
void * ptr_
 
unsigned byteOffset_
 
unsigned nByte_
 
unsigned nEl_
 
int fd_
 
unsigned nBuffer_
 
unsigned iBuffer_
 
std::string format_
 
RegMapBlock * block_
 
std::vector< unsigned char > bytes_
 

Constructor & Destructor Documentation

ArchiverWriterDirfile::Register::Register ( RegMapBlock *  block,
ArrRegMap arrRegMap,
unsigned  startEl,
unsigned  nEl,
unsigned char *  base,
bool  writeIndex,
unsigned  nBuffer 
)

....................................................................... Constructor for Register

ArchiverWriterDirfile::Register::Register ( const Register reg)

....................................................................... Copy constructor for Register

Member Function Documentation

void ArchiverWriterDirfile::Register::close ( )

....................................................................... Close any file currently associated with this register

void ArchiverWriterDirfile::Register::flush ( )

....................................................................... Flush any file currently associated with this register

std::string ArchiverWriterDirfile::Register::format ( )

....................................................................... Output a dirfile-style format flag for this register

int ArchiverWriterDirfile::Register::open ( char *  dir)

....................................................................... Open a file for this register in the requested directory

int ArchiverWriterDirfile::Register::write ( )

....................................................................... Write the latest value to the file


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