Class SourceFile.

Inherits File

The SourceFile class models a C++ source file.

When a SourceFile object is created, it automatically scans the file for documented classes and functions, scans HeaderFile files as directed and creates Class and Function objects.

That's all.

SourceFile::SourceFile( const String & f )

Constructs a SourceFile named f, and parses it if it can be opened.

Function * SourceFile::function( Parser * p )

This helper parses a function name using p or reports an error. It returns a pointer to the function, or a null pointer in case of error.

void SourceFile::parse()

This happy-happy little function parse (or scans, to be truthful) a C++ source file looking for documentation. It's the All of this class.

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.