Puma::CFileInfo Class Reference

#include <Puma/infos/CFileInfo.h>

Inheritance diagram for Puma::CFileInfo:

Inheritance graph

List of all members.


Detailed Description

A CFileInfo object represents a C/C++ source file. A source file also is a scope, i.e. the file scope.

Public Member Functions

 CFileInfo ()
 ~CFileInfo ()
UnitPrimary () const
void Primary (Unit *unit)
bool haveCBuiltins () const
bool haveCCBuiltins () const
void haveCBuiltins (bool v)
void haveCCBuiltins (bool v)

Constructor & Destructor Documentation

Puma::CFileInfo::CFileInfo (  )  [inline]

Constructs a new file info.

Puma::CFileInfo::~CFileInfo (  )  [inline]

Destructs the file info. If the object id is FILE_INFO, Puma::CObjectInfo::CleanUp() is called.


Member Function Documentation

Unit * Puma::CFileInfo::Primary (  )  const [inline]

Get the token unit of the source file.

void Puma::CFileInfo::Primary ( Unit unit  )  [inline]

Set the token unit of the source file.

Parameters:
unit The token unit.

bool Puma::CFileInfo::haveCBuiltins (  )  const [inline]

Return true if C compiler build-in functions are defined for the source file.

bool Puma::CFileInfo::haveCCBuiltins (  )  const [inline]

Return true if C++ compiler build-in functions are defined for the source file.

void Puma::CFileInfo::haveCBuiltins ( bool  v  )  [inline]

Set whether C compiler build-in functions are defined for the source file.

Parameters:
v true if C build-in functions are defined.

void Puma::CFileInfo::haveCCBuiltins ( bool  v  )  [inline]

Set whether C++ compiler build-in functions are defined for the source file.

Parameters:
v true if C++ build-in functions are defined.


Generated on Sat May 10 03:03:50 2008 for Puma by  doxygen 1.5.5