GEOSX
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
geos::dataRepository::GroupContext Class Reference

#include <GroupContext.hpp>

Inheritance diagram for geos::dataRepository::GroupContext:
Inheritance graph
[legend]

Public Member Functions

 GroupContext (Group &group)
 Construct a new GroupContext object. More...
 
const GroupgetGroup () const
 
- Public Member Functions inherited from geos::dataRepository::DataContext
 DataContext (string const &targetName)
 Construct a new DataContext object. More...
 
virtual ~DataContext ()
 Destroy the DataContext object.
 
string getTargetName () const
 

Protected Member Functions

 GroupContext (Group &group, string const &objectName)
 Construct a new GroupContext object. More...
 

Protected Attributes

Groupm_group
 The reference to the Group related to this GroupContext.
 
- Protected Attributes inherited from geos::dataRepository::DataContext
const string m_targetName
 

Detailed Description

Helps to know where a Group is in the hierarchy. See DataContext class for more info.

Definition at line 37 of file GroupContext.hpp.

Constructor & Destructor Documentation

◆ GroupContext() [1/2]

geos::dataRepository::GroupContext::GroupContext ( Group group)

Construct a new GroupContext object.

Parameters
groupThe reference to the Group related to this GroupContext.

◆ GroupContext() [2/2]

geos::dataRepository::GroupContext::GroupContext ( Group group,
string const &  objectName 
)
protected

Construct a new GroupContext object.

Parameters
groupThe reference to the Group related to this GroupContext.
objectNameTarget object name.

Member Function Documentation

◆ getGroup()

const Group& geos::dataRepository::GroupContext::getGroup ( ) const
Returns
the reference to the Group related to this GroupContext.

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