GEOS
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...
 
Group const & getGroup () 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
string const m_targetName
 

Detailed Description

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

Definition at line 38 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()

Group const& 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: