Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Classes | Macros | Functions
sr_param_native.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

class  sr_param< int >
 Template specialization for sr_param<int>. More...
 
class  sr_param< unsigned int >
 Template specialization for sr_param<unsigned int>. More...
 
class  sr_param< bool >
 Template specialization for sr_param<bool>. More...
 
class  sr_param< double >
 Template specialization for sr_param<double>. More...
 
class  sr_param< float >
 Template specialization for sr_param<float>. More...
 
class  sr_param< std::string >
 Template specialization for sr_param<std::string>. More...
 
class  sr_param< std::vector< std::string > >
 
class  sr_param< unsigned long long >
 Template specialization for sr_param<unsigned long long int>. More...
 
class  sr_param< long long >
 Template specialization for sr_param<long long int>. More...
 
class  sr_param< unsigned char >
 Template specialization for sr_param<unsigned char>. More...
 
class  sr_param< signed char >
 Template specialization for sr_param<signed char>. More...
 
class  sr_param< char >
 Template specialization for sr_param<char>. More...
 
class  sr_param< unsigned short >
 Template specialization for sr_param<unsigned short>. More...
 

Macros

#define CNSC_STRING_OPERATOR_IMPLEMENTATIONS(otype)
 

Functions

std::ostream & operator<< (std::ostream &os, const sr_param< std::string > &str)
 
std::istream & operator>> (std::istream &is, sr_param< std::string > &str)
 (all): check if works! More...
 
std::string operator+ (const sr_param< std::string > &lhs, const sr_param< std::string > &rhs)
 
std::string operator+ (const sr_param< std::string > &lhs, const std::string &rhs)
 
std::string operator+ (const std::string &lhs, const sr_param< std::string > &rhs)
 
std::string operator+ (const sr_param< std::string > &lhs, const char *rhs)
 
std::string operator+ (const char *lhs, const sr_param< std::string > &rhs)
 

Macro Definition Documentation

#define CNSC_STRING_OPERATOR_IMPLEMENTATIONS (   otype)
Value:
inline bool operator otype (const sr_param<std::string>& lhs, \
const sr_param<std::string>& rhs) \
{ \
return const_cast<sr_param<std::string>& >(lhs).getValue() otype \
const_cast<sr_param<std::string>& >(rhs).getValue(); \
} \
\
inline bool operator otype (const std::string& lhs, const sr_param<std::string>& rhs) \
{ \
return lhs otype const_cast<sr_param<std::string>& >(rhs).getValue(); \
} \
\
inline bool operator otype (const sr_param<std::string>& lhs, const std::string& rhs) \
{ \
return const_cast<sr_param<std::string>& >(lhs).getValue() otype rhs; \
} \
\
\
\
inline bool operator otype (const char *lhs, const sr_param<std::string>& rhs) \
{ \
return std::string(lhs) otype const_cast<sr_param<std::string>& >(rhs).getValue(); \
} \
\
inline bool operator otype (const sr_param<std::string>& lhs, const char *rhs) \
{ \
return const_cast<sr_param<std::string>& >(lhs).getValue() otype std::string(rhs); \
} \
#define const
Definition: pocsag.c:12
The parameters, sr_param class, templated.
Definition: sr_param_class.h:96
Template specialization for sr_param<std::string>.
Definition: sr_param_native.h:467

Function Documentation

std::string operator+ ( const sr_param< std::string > &  lhs,
const sr_param< std::string > &  rhs 
)
inline
std::string operator+ ( const sr_param< std::string > &  lhs,
const std::string &  rhs 
)
inline
std::string operator+ ( const std::string &  lhs,
const sr_param< std::string > &  rhs 
)
inline
std::string operator+ ( const sr_param< std::string > &  lhs,
const char rhs 
)
inline
std::string operator+ ( const char lhs,
const sr_param< std::string > &  rhs 
)
inline
std::ostream& operator<< ( std::ostream &  os,
const sr_param< std::string > &  str 
)
inline
std::istream& operator>> ( std::istream &  is,
sr_param< std::string > &  str 
)
inline

(all): check if works!