Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::DataObjects::TableWorkspace::FindName Class Reference

Used in std::find_if algorithm to find a Column with name name. More...

Public Member Functions

 FindName (const std::string &name)
 Constructor. More...
 
bool operator() (const std::shared_ptr< const API::Column > &cp) const
 
bool operator() (std::shared_ptr< API::Column > &cp) const
 Comparison operator. More...
 

Private Attributes

std::string m_name
 Name to find. More...
 

Detailed Description

Used in std::find_if algorithm to find a Column with name name.

Definition at line 303 of file TableWorkspace.h.

Constructor & Destructor Documentation

◆ FindName()

Mantid::DataObjects::TableWorkspace::FindName::FindName ( const std::string &  name)
inline

Constructor.

Definition at line 307 of file TableWorkspace.h.

Member Function Documentation

◆ operator()() [1/2]

bool Mantid::DataObjects::TableWorkspace::FindName::operator() ( const std::shared_ptr< const API::Column > &  cp) const
inline

Definition at line 310 of file TableWorkspace.h.

◆ operator()() [2/2]

bool Mantid::DataObjects::TableWorkspace::FindName::operator() ( std::shared_ptr< API::Column > &  cp) const
inline

Comparison operator.

Definition at line 309 of file TableWorkspace.h.

Member Data Documentation

◆ m_name

std::string Mantid::DataObjects::TableWorkspace::FindName::m_name
private

Name to find.

Definition at line 304 of file TableWorkspace.h.


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