|
Caffa
1.1.0
C++ Application Framework for Embedded Systems with introspection
|
Main Caffa namespace. More...
Functions | |
| template<typename Enum > | |
| std::istream & | operator>> (std::istream &str, caffa::AppEnum< Enum > &appEnum) |
| template<typename Enum > | |
| std::ostream & | operator<< (std::ostream &str, const caffa::AppEnum< Enum > &appEnum) |
| template<typename Enum > | |
| void | to_json (nlohmann::json &jsonValue, const AppEnum< Enum > &appEnum) |
| template<typename Enum > | |
| void | from_json (const nlohmann::json &jsonValue, AppEnum< Enum > &appEnum) |
| void | to_json (nlohmann::json &jsonValue, const AppInfo &appInfo) |
| void | from_json (const nlohmann::json &jsonValue, AppInfo &appInfo) |
| template<typename FieldType > | |
| void | AddIoCapabilityToField (FieldType *field) |
| void | to_json (nlohmann::json &jsonValue, const ObjectHandle &object) |
| void | from_json (const nlohmann::json &jsonValue, ObjectHandle &object) |
| void | to_json (nlohmann::json &jsonValue, std::shared_ptr< const ObjectHandle > object) |
| void | from_json (const nlohmann::json &jsonValue, std::shared_ptr< ObjectHandle > object) |
Variables | |
| string | name = "caffa" |
| current_dir = os.path.abspath(os.curdir) | |
| caffa_dir = os.path.dirname(__file__) | |
| template<typename T > | |
| concept | enum_type = std::is_enum<T>::value |
| template<typename DataTypePtr > | |
| concept | is_pointer = std::is_pointer<DataTypePtr>::value |
| template<typename T > | |
| concept | DerivesFromObjectHandle = std::is_base_of<ObjectHandle, T>::value |
| template<typename T > | |
| concept | IsSharedPtr = is_shared_ptr<T>::value |
| template<typename T > | |
| concept | IsVector = is_vector<T>::value |
Main Caffa namespace.
| std::istream& caffa::operator>> | ( | std::istream & | str, |
| caffa::AppEnum< Enum > & | appEnum | ||
| ) |
Implementation of stream operators to make Field<AppEnum<> > work smoothly Assumes that the stream ends at the end of the enum label