Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

format Class Reference

#include <format.h>

Collaboration diagram for format:

Collaboration graph
List of all members.

Detailed Description

Format class.


Public Member Functions

 format (const string &FileName)
 Read format file and strip comments.

void CheckFormat (void) const
 : Check if the format is valid.

void ParseFormat (const fileinfo *pFileInfo) const
 Parse the information of the file to the specified format.

void Show (void) const
 Shows format debug information.


Private Member Functions

bool FindFormatID (const string &idName) const
 Find ID in Format.

string::size_type GetNextFormatID (string &idName, string::size_type Offset) const
 Return the first id found from offset.


Private Attributes

string m_Format
 Output format.


Constructor & Destructor Documentation

format::format const string &  FileName  ) 
 

Read format file and strip comments.

Parameters:
FileName: The name of the format file.

Here is the call graph for this function:


Member Function Documentation

void format::CheckFormat void   )  const
 

: Check if the format is valid.

Here is the call graph for this function:

void format::ParseFormat const fileinfo pFileInfo  )  const
 

Parse the information of the file to the specified format.

Parameters:
pFileInfo: Pointer to the file information.

Here is the call graph for this function:

void format::Show void   )  const
 

Shows format debug information.

bool format::FindFormatID const string &  idName  )  const [private]
 

Find ID in Format.

Parameters:
idName: ID to be found.
Returns:
true if found else false

Here is the call graph for this function:

string::size_type format::GetNextFormatID string &  idName,
string::size_type  Offset
const [private]
 

Return the first id found from offset.

Parameters:
idName: String to store the id found.
Offset: Offset to start the search.
Returns:
Last offset.

Here is the call graph for this function:


Member Data Documentation

string format::m_Format [private]
 

Output format.


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