20.11
|
#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 18 of file JSONTimelineDecoder.hpp.
|
overridevirtual |
Definition at line 28 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::jsonEntities, and JSONTimelineDecoder::JSONEntity::SetType().
Referenced by RunSimpleModelThroughDecoder().
|
overridevirtual |
Definition at line 45 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::events, JSONTimelineDecoder::JSONEntity::GetGuid(), JSONTimelineDecoder::Model::jsonEntities, and JSONTimelineDecoder::JSONEntity::SetType().
Referenced by RunSimpleModelThroughDecoder().
|
overridevirtual |
Definition at line 36 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::eventClasses, JSONTimelineDecoder::Model::jsonEntities, and JSONTimelineDecoder::JSONEntity::SetType().
Referenced by RunSimpleModelThroughDecoder().
|
overridevirtual |
Definition at line 54 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::Model::labels.
Referenced by RunSimpleModelThroughDecoder().
|
overridevirtual |
Definition at line 60 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().
Referenced by RunSimpleModelThroughDecoder().
std::string GetJSONEntityString | ( | JSONTimelineDecoder::JSONEntity & | entity, |
int & | counter | ||
) |
Definition at line 270 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 250 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::JSONEntity::childEntities, JSONTimelineDecoder::GetJSONEntityString(), JSONTimelineDecoder::JSONEntity::GetType(), and JSONTimelineDecoder::Model::jsonEntities.
Referenced by BOOST_AUTO_TEST_CASE(), and JSONTimelineDecoder::PrintJSON().
const JSONTimelineDecoder::Model & GetModel | ( | ) |
Definition at line 372 of file JSONTimelineDecoder.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
void PrintJSON | ( | JSONTimelineDecoder::JSONEntity & | rootEntity, |
std::ostream & | os | ||
) |
Definition at line 244 of file JSONTimelineDecoder.cpp.
References JSONTimelineDecoder::GetJSONString().
Referenced by BOOST_AUTO_TEST_CASE().