24.02
|
#include <JSONTimelineDecoder.hpp>
Classes | |
struct | JSONEntity |
struct | Model |
Public Member Functions | |
void | PrintJSON (JSONEntity &entity, std::ostream &os) |
std::string | GetJSONString (JSONEntity &rootEntity) |
std::string | GetJSONEntityString (JSONEntity &entity, int &counter) |
virtual TimelineStatus | CreateEntity (const Entity &) override |
virtual TimelineStatus | CreateEventClass (const EventClass &) override |
virtual TimelineStatus | CreateEvent (const Event &) override |
virtual TimelineStatus | CreateLabel (const Label &) override |
virtual TimelineStatus | CreateRelationship (const Relationship &) override |
const Model & | GetModel () |
Definition at line 19 of file JSONTimelineDecoder.hpp.
|
overridevirtual |
Definition at line 29 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::jsonEntities, and JSONTimelineDecoder::JSONEntity::SetType().
|
overridevirtual |
Definition at line 46 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::events, JSONTimelineDecoder::JSONEntity::GetGuid(), JSONTimelineDecoder::Model::jsonEntities, and JSONTimelineDecoder::JSONEntity::SetType().
|
overridevirtual |
Definition at line 37 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::eventClasses, JSONTimelineDecoder::Model::jsonEntities, and JSONTimelineDecoder::JSONEntity::SetType().
|
overridevirtual |
Definition at line 55 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::labels.
|
overridevirtual |
Definition at line 61 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::relationships.
std::string GetJSONEntityString | ( | JSONTimelineDecoder::JSONEntity & | entity, |
int & | counter | ||
) |
Definition at line 244 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::JSONEntity::childEntities, JSONTimelineDecoder::JSONEntity::GetType(), and JSONTimelineDecoder::Model::jsonEntities.
Referenced by JSONTimelineDecoder::GetJSONString().
std::string GetJSONString | ( | JSONTimelineDecoder::JSONEntity & | rootEntity | ) |
Definition at line 224 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::JSONEntity::childEntities, JSONTimelineDecoder::GetJSONEntityString(), JSONTimelineDecoder::JSONEntity::GetType(), and JSONTimelineDecoder::Model::jsonEntities.
Referenced by JSONTimelineDecoder::PrintJSON().
const JSONTimelineDecoder::Model & GetModel | ( | ) |
Definition at line 347 of file JSONTimelineDecoder.cpp.
void PrintJSON | ( | JSONTimelineDecoder::JSONEntity & | rootEntity, |
std::ostream & | os | ||
) |
Definition at line 218 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::GetJSONString().