dynamicgraph::sot::Flags Class Reference

#include <sot/core/flags.hh>

List of all members.

Public Member Functions

 Flags (const bool &b=false)
 Flags (const char &c)
 Flags (const int &c4)
void add (const char &c)
void add (const int &c4)
Flags operator! (void) const
Flagsoperator&= (const Flags &f2)
Flagsoperator|= (const Flags &f2)
Flagsoperator&= (const bool &b)
Flagsoperator|= (const bool &b)
bool operator() (const int &i) const
 operator bool (void) const
void unset (const unsigned int &i)
void set (const unsigned int &i)

Static Public Member Functions

static void readIndexMatlab (std::istream &iss, unsigned int &indexStart, unsigned int &indexEnd, bool &unspecifiedEnd)
static Flags readIndexMatlab (std::istream &iss)

Protected Member Functions

char operator[] (const unsigned int &i) const

Protected Attributes

std::vector< char > flags
bool reverse

Friends

SOT_CORE_EXPORT friend Flags operator& (const Flags &f1, const Flags &f2)
SOT_CORE_EXPORT friend Flags operator| (const Flags &f1, const Flags &f2)
SOT_CORE_EXPORT friend Flags operator& (const Flags &f1, const bool &b)
SOT_CORE_EXPORT friend Flags operator| (const Flags &f1, const bool &b)
SOT_CORE_EXPORT friend
std::ostream & 
operator<< (std::ostream &os, const Flags &fl)
SOT_CORE_EXPORT friend char operator>> (const Flags &flags, const int &i)
SOT_CORE_EXPORT friend
std::istream & 
operator>> (std::istream &is, Flags &fl)

Constructor & Destructor Documentation

dynamicgraph::sot::Flags::Flags ( const bool &  b = false)
dynamicgraph::sot::Flags::Flags ( const char &  c)
dynamicgraph::sot::Flags::Flags ( const int &  c4)

Member Function Documentation

void dynamicgraph::sot::Flags::add ( const char &  c)
void dynamicgraph::sot::Flags::add ( const int &  c4)
dynamicgraph::sot::Flags::operator bool ( void  ) const
Flags& dynamicgraph::sot::Flags::operator&= ( const Flags f2)
Flags& dynamicgraph::sot::Flags::operator&= ( const bool &  b)
bool dynamicgraph::sot::Flags::operator() ( const int &  i) const
char dynamicgraph::sot::Flags::operator[] ( const unsigned int &  i) const [protected]
Flags& dynamicgraph::sot::Flags::operator|= ( const Flags f2)
Flags& dynamicgraph::sot::Flags::operator|= ( const bool &  b)
static void dynamicgraph::sot::Flags::readIndexMatlab ( std::istream &  iss,
unsigned int &  indexStart,
unsigned int &  indexEnd,
bool &  unspecifiedEnd 
) [static]
static Flags dynamicgraph::sot::Flags::readIndexMatlab ( std::istream &  iss) [static]
void dynamicgraph::sot::Flags::set ( const unsigned int &  i)
void dynamicgraph::sot::Flags::unset ( const unsigned int &  i)

Friends And Related Function Documentation

SOT_CORE_EXPORT friend Flags operator& ( const Flags f1,
const Flags f2 
) [friend]
SOT_CORE_EXPORT friend Flags operator& ( const Flags f1,
const bool &  b 
) [friend]
SOT_CORE_EXPORT friend std::ostream& operator<< ( std::ostream &  os,
const Flags fl 
) [friend]
SOT_CORE_EXPORT friend char operator>> ( const Flags flags,
const int &  i 
) [friend]
SOT_CORE_EXPORT friend std::istream& operator>> ( std::istream &  is,
Flags fl 
) [friend]
SOT_CORE_EXPORT friend Flags operator| ( const Flags f1,
const Flags f2 
) [friend]
SOT_CORE_EXPORT friend Flags operator| ( const Flags f1,
const bool &  b 
) [friend]

Member Data Documentation

std::vector<char> dynamicgraph::sot::Flags::flags [protected]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines