#include <sot/core/flags.hh>
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 |
Flags & | operator&= (const Flags &f2) |
Flags & | operator|= (const Flags &f2) |
Flags & | operator&= (const bool &b) |
Flags & | operator|= (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) |
dynamicgraph::sot::Flags::Flags | ( | const bool & | b = false | ) |
dynamicgraph::sot::Flags::Flags | ( | const char & | c | ) |
dynamicgraph::sot::Flags::Flags | ( | const int & | c4 | ) |
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! | ( | void | ) | const |
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 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 | ) |
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] |
std::vector<char> dynamicgraph::sot::Flags::flags [protected] |
bool dynamicgraph::sot::Flags::reverse [protected] |