jccl::ElementNamePred Struct Reference

This is a helper for use with std::find_if() for comparing element names. More...

List of all members.

Public Member Functions

 ElementNamePred (const std::string &name)
bool operator() (jccl::ConfigElementPtr element)

Public Attributes

std::string mName


Detailed Description

This is a helper for use with std::find_if() for comparing element names.

Definition at line 326 of file Configuration.cpp.


Constructor & Destructor Documentation

jccl::ElementNamePred::ElementNamePred ( const std::string &  name  )  [inline]

Definition at line 328 of file Configuration.cpp.

00329       : mName(name)
00330    {}


Member Function Documentation

bool jccl::ElementNamePred::operator() ( jccl::ConfigElementPtr  element  )  [inline]

Definition at line 332 of file Configuration.cpp.

References mName.

00333    {
00334       return (element->getName() == mName);
00335    }


Member Data Documentation

std::string jccl::ElementNamePred::mName

Definition at line 337 of file Configuration.cpp.

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Thu Jan 4 10:49:53 2007 for JCCL: Juggler Configuration and Control Library by  doxygen 1.5.1