|
Caffa
1.1.0
C++ Application Framework for Embedded Systems with introspection
|
#include <cafDocument.h>


Public Member Functions | |
| Document (const std::string &id=std::string(classKeywordStatic())) | |
| std::string | id () const |
| std::string | fileName () const |
| void | setId (const std::string &id) |
| void | setFileName (const std::string &fileName) |
| bool | readFromJsonFile () |
| bool | writeToJsonFile () const |
Public Member Functions inherited from object.Object | |
| def | __init__ (self, data=None, **kwargs) |
| def | GetDemoObject (self) |
| Object | SetDemoObject (self, new_value) |
| def | GetFileName (self) |
| Object | SetFileName (self, new_value) |
| def | GetId (self) |
| Object | SetId (self, new_value) |
| def | GetInheritedDemoObjects (self) |
| Object | SetInheritedDemoObjects (self, new_value) |
| def | GetKeyword (self) |
| Object | SetKeyword (self, new_value) |
| def | GetUuid (self) |
| Object | SetUuid (self, new_value) |
| dict | Serializable (self) |
The Document class is the main class to do file based IO, and is also supposed to act as the overall container of the objects read.