Main Page | Class List | File List | Class Members

INameInterface Class Reference

Simple name interface.. More...

#include <INameInterface.h>

List of all members.

Public Member Functions

 INameInterface ()
 INameInterface (const std::string &strObjectName)
 INameInterface (const std::string &strObjectName, const std::string &strGroupName)
virtual ~INameInterface ()
void SetObjectName (const std::string &strObjectName)
void SetGroupName (const std::string &strGroupName)
const std::string & GetObjectName (void)
const std::string & GetGroupName (void)

Protected Attributes

std::string m_strObjectName
 String for the object's name.
std::string m_strGroupName
 String for the object's group name.


Detailed Description

Simple name interface..

Use this class to add names to objects. Object name and group name. Used by parts such as the menu system.

Definition at line 57 of file INameInterface.h.


Constructor & Destructor Documentation

INameInterface::INameInterface  ) 
 

Contstructor.

Definition at line 55 of file INameInterface.cpp.

INameInterface::INameInterface const std::string &  strObjectName  ) 
 

Contstructor, taking object name only.

Parameters:
strObjectName The name of the object.

Definition at line 67 of file INameInterface.cpp.

References m_strObjectName.

INameInterface::INameInterface const std::string &  strObjectName,
const std::string &  strGroupName
 

Contstructor, taking group and object name.

Parameters:
strObjectName The name of the object.
strGroupName The name of the group this object belongs to.

Definition at line 81 of file INameInterface.cpp.

References m_strGroupName, and m_strObjectName.

INameInterface::~INameInterface  )  [virtual]
 

Destructor.

Definition at line 93 of file INameInterface.cpp.


Member Function Documentation

const std::string& INameInterface::GetGroupName void   )  [inline]
 

Get the group name.

Definition at line 75 of file INameInterface.h.

const std::string& INameInterface::GetObjectName void   )  [inline]
 

Get the object name.

Definition at line 73 of file INameInterface.h.

void INameInterface::SetGroupName const std::string &  strGroupName  )  [inline]
 

Set the group name.

Definition at line 70 of file INameInterface.h.

void INameInterface::SetObjectName const std::string &  strObjectName  )  [inline]
 

Set the object name.

Definition at line 68 of file INameInterface.h.


The documentation for this class was generated from the following files:
Generated on Tue Dec 14 23:46:21 2004 for INameInterface by  doxygen 1.3.9.1