torc::physical::NameComparator Class Reference

Comparator class to serve as a predicate when searching for names. More...

#include <Named.hpp>

List of all members.

Public Member Functions

 NameComparator (const string &inName)
 Constructor.
bool operator() (const Named &inNamed) const
 Function operator taking a Named object.
bool operator() (const NamedSharedPtr &inNamedPtr) const
 Function operator taking a Named shared pointer.

Protected Types

typedef std::string string
 Imported type name.

Protected Attributes

const stringmName
 The name to compare against.


Detailed Description

Comparator class to serve as a predicate when searching for names.

Definition at line 61 of file Named.hpp.


Member Typedef Documentation

typedef std::string torc::physical::NameComparator::string [protected]

Imported type name.

Definition at line 65 of file Named.hpp.


Constructor & Destructor Documentation

torc::physical::NameComparator::NameComparator ( const string inName  )  [inline]

Constructor.

Parameters:
inName The name to compare against.

Definition at line 73 of file Named.hpp.


Member Function Documentation

bool torc::physical::NameComparator::operator() ( const Named inNamed  )  const [inline]

Function operator taking a Named object.

Returns:
true if the given object's name matches the desired name, or false otherwise.

Definition at line 78 of file Named.hpp.

bool torc::physical::NameComparator::operator() ( const NamedSharedPtr inNamedPtr  )  const [inline]

Function operator taking a Named shared pointer.

Returns:
true if the given object's name matches the desired name, or false otherwise.

Definition at line 82 of file Named.hpp.


Member Data Documentation

The name to compare against.

Definition at line 68 of file Named.hpp.


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

Generated on Thu Oct 13 16:50:47 2011 for TORC by  doxygen 1.5.6