Nemiver  0.3
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
nemiver::common::Loc Class Reference

The base type presenting a location. More...

#include <nmv-loc.h>

Inheritance diagram for nemiver::common::Loc:
nemiver::common::AddressLoc nemiver::common::FunctionLoc nemiver::common::SourceLoc

Public Types

enum  Kind { UNDEFINED_LOC_KIND, SOURCE_LOC_KIND, FUNCTION_LOC_KIND, ADDRESS_LOC_KIND }
 The different possible kinds of locations. More...
 

Public Member Functions

Kind kind () const
 
virtual ~Loc ()
 

Protected Member Functions

 Loc ()
 
 Loc (const Loc &a)
 

Protected Attributes

Kind m_kind
 

Detailed Description

The base type presenting a location.

Member Enumeration Documentation

◆ Kind

The different possible kinds of locations.

Enumerator
UNDEFINED_LOC_KIND 
SOURCE_LOC_KIND 
FUNCTION_LOC_KIND 
ADDRESS_LOC_KIND 

Constructor & Destructor Documentation

◆ Loc() [1/2]

nemiver::common::Loc::Loc ( )
inlineprotected

◆ Loc() [2/2]

nemiver::common::Loc::Loc ( const Loc a)
inlineprotected

◆ ~Loc()

virtual nemiver::common::Loc::~Loc ( )
inlinevirtual

Member Function Documentation

◆ kind()

Kind nemiver::common::Loc::kind ( ) const
inline

Member Data Documentation

◆ m_kind

Kind nemiver::common::Loc::m_kind
protected

The documentation for this class was generated from the following file: