| Puma Reference Manual | Puma: Puma::CFileInfo Class Reference |
#include <Puma/CFileInfo.h>

A source file has its own scope, the so-called file scope.
Public Member Functions | |
| CFileInfo () | |
| Constructor. | |
| ~CFileInfo () | |
| Destructor. | |
| Unit * | Primary () const |
| Get the token chain of the source file. | |
| void | Primary (Unit *unit) |
| Set the token chain of the source file. | |
| bool | haveCBuiltins () const |
| Check if C compiler build-in functions are defined for the source file. | |
| bool | haveCCBuiltins () const |
| Check if C++ compiler build-in functions are defined for the source file. | |
| void | haveCBuiltins (bool v) |
| Set whether C compiler build-in functions are defined for the source file. | |
| void | haveCCBuiltins (bool v) |
| Set whether C++ compiler build-in functions are defined for the source file. | |
| Puma::CFileInfo::CFileInfo | ( | ) | [inline] |
Constructor.
| Puma::CFileInfo::~CFileInfo | ( | ) | [inline] |
Destructor.
If the object type is CObjectInfo::FILE_INFO, then CObjectInfo::CleanUp() is called.
| Unit * Puma::CFileInfo::Primary | ( | ) | const [inline] |
Get the token chain of the source file.
| void Puma::CFileInfo::Primary | ( | Unit * | unit | ) | [inline] |
Set the token chain of the source file.
| unit | The token chain. |
| bool Puma::CFileInfo::haveCBuiltins | ( | ) | const [inline] |
Check if C compiler build-in functions are defined for the source file.
| bool Puma::CFileInfo::haveCCBuiltins | ( | ) | const [inline] |
Check 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.
| 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.
| v | true if C++ build-in functions are defined. |