22.08
|
#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::JSONEntity::AddConnection(), JSONTimelineDecoder::JSONEntity::extendedData, JSONTimelineDecoder::Model::jsonEntities, JSONTimelineDecoder::Model::labels, JSONTimelineDecoder::Model::relationships, JSONTimelineDecoder::JSONEntity::SetName(), JSONTimelineDecoder::JSONEntity::SetParent(), and JSONTimelineDecoder::JSONEntity::SetType().
std::string GetJSONEntityString | ( | JSONTimelineDecoder::JSONEntity & | entity, |
int & | counter | ||
) |
Definition at line 271 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::JSONEntity::childEntities, JSONTimelineDecoder::Model::events, JSONTimelineDecoder::JSONEntity::extendedData, JSONTimelineDecoder::JSONEntity::GetGuid(), JSONTimelineDecoder::JSONEntity::GetName(), JSONTimelineDecoder::JSONEntity::GetType(), and JSONTimelineDecoder::Model::jsonEntities.
Referenced by JSONTimelineDecoder::GetJSONString().
std::string GetJSONString | ( | JSONTimelineDecoder::JSONEntity & | rootEntity | ) |
Definition at line 251 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 374 of file JSONTimelineDecoder.cpp.
void PrintJSON | ( | JSONTimelineDecoder::JSONEntity & | rootEntity, |
std::ostream & | os | ||
) |
Definition at line 245 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::GetJSONString().