Logo Search packages:      
Sourcecode: catcodec version File versions  Download package

uint32_t Sample::GetNextOffset (  ) const

Get the offset for the cat entry that follows us.

Returns:
the offset for the next cat entry

Definition at line 236 of file sample.cpp.

References filename, name, offset, and size.

Referenced by WriteCat().

{
      return this->offset +
                  1 +                            // length of the name
                  (this->name.length() + 1) +    // the name + '\0'
                  this->size +                   // size of the data
                  1 +                            // the delimiter
                  1 +                            // length of the filename
                  (this->filename.length() + 1); // the filename + '\0'
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index