Samchon Framework for CPP  1.0.0
Entity.cpp
1 #include <samchon/protocol/Entity.hpp>
2 
3 #include <samchon/library/SQLStatement.hpp>
4 #include <samchon/library/XML.hpp>
5 #include <samchon/protocol/Invoke.hpp>
6 
7 using namespace std;
8 using namespace samchon;
9 using namespace samchon::library;
10 using namespace samchon::protocol;
11 
12 /* ---------------------------------------------------------------
13  IDENTIFIERS
14 --------------------------------------------------------------- */
15 auto Entity::key() const -> std::string { return ""; }
16 
17 /* ---------------------------------------------------------------
18  CONSTRUCTORS
19 --------------------------------------------------------------- */
20 Entity::Entity()
21 {
22 }
23 void Entity::construct(shared_ptr<XML>)
24 {
25 }
26 
27 /* ---------------------------------------------------------------
28  PROTOCOLS
29 --------------------------------------------------------------- */
30 auto Entity::toXML() const -> shared_ptr<XML>
31 {
32  shared_ptr<XML> xml(new XML());
33  xml->setTag(TAG());
34 
35  return xml;
36 }
Definition: RWMutex.hpp:4
Package of libraries.
Definition: library.hpp:84
Package of network protocol and libraries.
Definition: protocol.hpp:185
XML is a class representing xml object.
Definition: XML.hpp:72
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7