Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

/ray/src/lib/sourcepos/sourcefile.h File Reference

Classes for sophisticated source position (file/line/lpos, include hierarchy) handling. More...

#include <lib/sconfig.h>
#include <lib/tl/refnode.h>
#include <lib/tl/linkedlist.h>
#include <lib/tl/tlstring.h>

Include dependency graph for sourcefile.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  _InternalSourceFileNode
 Internally used source file node class. More...


Defines

#define _LIB_SOURCEPOS_SOURCEFILE_H_   1

Typedefs

typedef RefNode< _InternalSourceFileNodeSourceFileNode
 This is the source file node "class" to be used by other code.


Functions

bool operator== (const SourceFileNode &a, const SourceFileNode &b)
 operator==() returns true for the same file with the same position in the include tree.

bool operator!= (const SourceFileNode &a, const SourceFileNode &b)
 operator!=() returns false for the same file with the same position in the include tree.


Detailed Description

Classes for sophisticated source position (file/line/lpos, include hierarchy) handling.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [

For more information, see file sourcepos.h.

Definition in file sourcefile.h.


Define Documentation

#define _LIB_SOURCEPOS_SOURCEFILE_H_   1
 

Definition at line 19 of file sourcefile.h.


Typedef Documentation

typedef RefNode<_InternalSourceFileNode> SourceFileNode
 

This is the source file node "class" to be used by other code.

Definition at line 40 of file sourcefile.h.

Referenced by _InternalSourcePosition::_InternalSourcePosition(), SourcePositionArchive::_RecursiveDetachArchive(), SourcePositionArchive::AllocISF(), SourcePositionArchive::AllocISPNoCache(), _InternalSourceFileNode::CreateSingleNode(), _InternalSourcePosition::CreateSinglePosition(), SourcePositionArchive::CurrentFile(), SourcePositionArchive::EndFile(), _InternalSourcePosition::file(), SourcePositionArchive::IncludeFile(), _InternalSourcePosition::PosRangeString(), SCLocation::SCLocation(), SourcePositionArchive::SourcePositionArchive(), and SourcePositionArchive::~SourcePositionArchive().


Function Documentation

bool operator!= const SourceFileNode a,
const SourceFileNode b
[inline]
 

operator!=() returns false for the same file with the same position in the include tree.

See also:
operator==() for more info.

Definition at line 181 of file sourcefile.h.

References operator==().

bool operator== const SourceFileNode a,
const SourceFileNode b
[inline]
 

operator==() returns true for the same file with the same position in the include tree.

+ This means that same file read several times will yield to false if a and b were read at different "times".

Definition at line 173 of file sourcefile.h.


Generated on Sat Feb 19 22:34:34 2005 for Ray by doxygen 1.3.5