BlockReaderList NxsReader::parseFileWithReader ( NxsReader nexusReader,
const char *  filepath,
bool  parsePrivateBlocks = true,
bool  storeTokenInfo = true 
) [static, protected]

A convenience function to allow one to quickly get a list of block reader that were generated (or used) in reading a filepath.

Convenience function for reading a filepath.

Returns a list of NxsBlock pointers (which the caller must delete) corresponding to the NxsBlocks found in the file. Raises NxsExceptions on errors.

Parameters:
filepath path of file to parse
parsePrivateBlocks true to store the commands found in private blocks
storeTokenInfo true for storage of full token info (such as file position) for private blocks

Definition at line 75 of file nxspublicblocks.cpp.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:13 2010 for NCL by  doxygen 1.6.3