Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::API::Boolean Class Reference

As TableColumn stores its data in a std::vector bool type cannot be used in the same way as the other types. More...

#include <Column.h>

Public Member Functions

 Boolean ()
 Default constructor. More...
 
 Boolean (bool b)
 Conversion from bool. More...
 
 operator bool ()
 Returns bool. More...
 
 operator bool () const
 
bool operator== (const Boolean &b) const
 equal to operator More...
 

Public Attributes

bool value
 boolean value More...
 

Detailed Description

As TableColumn stores its data in a std::vector bool type cannot be used in the same way as the other types.

Class Boolean is used instead.

Definition at line 209 of file Column.h.

Constructor & Destructor Documentation

◆ Boolean() [1/2]

Mantid::API::Boolean::Boolean ( )
inline

Default constructor.

Definition at line 211 of file Column.h.

◆ Boolean() [2/2]

Mantid::API::Boolean::Boolean ( bool  b)
inline

Conversion from bool.

Definition at line 213 of file Column.h.

Member Function Documentation

◆ operator bool() [1/2]

Mantid::API::Boolean::operator bool ( )
inline

Returns bool.

Definition at line 215 of file Column.h.

References value.

◆ operator bool() [2/2]

Mantid::API::Boolean::operator bool ( ) const
inline

Definition at line 219 of file Column.h.

References value.

◆ operator==()

bool Mantid::API::Boolean::operator== ( const Boolean b) const
inline

equal to operator

Definition at line 217 of file Column.h.

References value, and value.

Member Data Documentation

◆ value

bool Mantid::API::Boolean::value

boolean value

Definition at line 220 of file Column.h.

Referenced by Mantid::API::operator<<(), and operator==().


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