FlexPack.cpp File Reference

Go to the source code of this file.

Enumerations

enum  Arch_mode {
  NONE, LIST, EXTRACT, CREATE,
  ADD, REPLACE, RESPONSE
}

Functions

void usage ()
void set_mode (Arch_mode &mode, Arch_mode new_mode)
int main (int argc, char **argv)

Variables

static char * program


Enumeration Type Documentation

enum Arch_mode

Enumerator:
NONE 
LIST 
EXTRACT 
CREATE 
ADD 
REPLACE 
RESPONSE 

Definition at line 28 of file FlexPack.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 41 of file FlexPack.cpp.

References ADD, FlexWriter::add_datasource(), c_empty_string, con, CREATE, Console::DisableWordWrap(), IDataSource::eof(), EXTRACT, FlexFile::getIndexCount(), FlexFile::getObject(), FlexFile::getSize(), FlexFile::isFlexFile(), LIST, NONE, perr, pout, program, FileSystem::ReadFile(), IDataSource::readline(), REPLACE, RESPONSE, FlexWriter::set_datasource(), set_mode(), snprintf(), usage(), FlexWriter::write(), ODataSource::write(), and FileSystem::WriteFile().

void set_mode ( Arch_mode mode,
Arch_mode  new_mode 
)

Definition at line 30 of file FlexPack.cpp.

References NONE, and perr.

Referenced by main().

void usage (  ) 

Definition at line 319 of file FlexPack.cpp.

References perr, and program.

Referenced by main().


Variable Documentation

char* program [static]

Definition at line 39 of file FlexPack.cpp.

Referenced by XMidiSequence::applyShadow(), main(), and usage().


Generated on Fri Jul 27 22:28:01 2007 for pentagram by  doxygen 1.4.7