Puma::CFileInfo Class Reference
#include <Puma/infos/CFileInfo.h>
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.
Constructor & Destructor Documentation
Puma::CFileInfo::CFileInfo |
( |
|
) |
[inline] |
Constructs a new file info.
Puma::CFileInfo::~CFileInfo |
( |
|
) |
[inline] |
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:
-
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. |