Back AAM-API documentation The AAM-Site

In file AAMUtil.h:

class CAAMPropsReader

Simple lo-fi property reader.

Inheritance:

CAAMPropsReader - CAAMObject


Public Methods

[more] CAAMPropsReader( const CString &filename )
Constructor.
[more]FILE* FH()
Current open file
[more]bool IsValid()
Returns true if the file is valid
[more]bool MoreNonWhiteSpaceOnLine()
Returns true if more white space is present.
[more]void SkipComments()
Increments the file pointer beyond any comments.
[more]void SkipRestOfLine()
Increments the file pointer to the start of the next line.
[more]void SkipWhiteSpace()
Increments the file pointer beyond any white space.
[more]void Sync()
Skips whitespace and any commments preceeding the current file position
[more] ~CAAMPropsReader()
Destructor.


Inherited from CAAMObject:

Public Methods

ovoid Dump( const char* szPath ) const
ovoid FromFile( const char* szFilename )
ovoid FromFile( FILE* fh )
ovoid ToFile( FILE* fh ) const
ovoid ToFile( const char* szFilename ) const


Documentation

Simple lo-fi property reader. Used as naive parser/scanner for the .asf, acf files et cetera.

ovoid Sync()
Skips whitespace and any commments preceeding the current file position

obool IsValid()
Returns true if the file is valid

oFILE* FH()
Current open file

o CAAMPropsReader( const CString &filename )

Constructor. Opens the file.

Parameters:
filename - The file to open.
Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
4-17-2000

o ~CAAMPropsReader()

Destructor. Closes the file.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
4-17-2000

ovoid SkipWhiteSpace()

Increments the file pointer beyond any white space.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
4-17-2000

ovoid SkipRestOfLine()

Increments the file pointer to the start of the next line.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
4-17-2000

obool MoreNonWhiteSpaceOnLine()

Returns true if more white space is present on the current line.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
4-17-2000

ovoid SkipComments()

Increments the file pointer beyond any comments.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
4-17-2000


This class has no child classes.
Author:
Mikkel B. Stegmann
Version:
4-17-2000
See Also:
CAAMBuilder::ReadACF(), CAAMShape::ReadASF()

Alphabetic index Hierarchy of classes


Back AAM-API documentation The AAM-Site