#include <FlatBuffersSerialize.h>
Public Member Functions | |
FlatBuffersSerialize () | |
FlatBuffersSerialize () | |
~FlatBuffersSerialize () | |
void | deleteFlatBufferBuilder () |
std::string | test (const std::string &xmlFileName, const std::string &flatbuffersFileName) |
local | test ( local xmlFileName, local flatbuffersFileName) |
std::string | serializeFlatBuffersWithXMLFile (const std::string &xmlFileName, const std::string &flatbuffersFileName) |
flatbuffers::Offset < flatbuffers::NodeTree > | createNodeTree (const tinyxml2::XMLElement *objectData, std::string classType) |
local | createNodeTree ( local objectData, local classType) |
flatbuffers::Offset < flatbuffers::NodeAction > | createNodeAction (const tinyxml2::XMLElement *objectData) |
local | createNodeAction ( local objectData) |
flatbuffers::Offset < flatbuffers::TimeLine > | createTimeLine (const tinyxml2::XMLElement *objectData) |
local | createTimeLine ( local objectData) |
flatbuffers::Offset < flatbuffers::TimeLineBoolFrame > | createTimeLineBoolFrame (const tinyxml2::XMLElement *objectData) |
flatbuffers::Offset < flatbuffers::TimeLineIntFrame > | createTimeLineIntFrame (const tinyxml2::XMLElement *objectData) |
flatbuffers::Offset < flatbuffers::TimeLineStringFrame > | createTimeLineStringFrame (const tinyxml2::XMLElement *objectData) |
flatbuffers::Offset < flatbuffers::TimeLinePointFrame > | createTimeLinePointFrame (const tinyxml2::XMLElement *objectData) |
var | createTimeLinePointFrame ( var objectData) |
local | createTimeLinePointFrame ( local objectData) |
flatbuffers::Offset < flatbuffers::TimeLineColorFrame > | createTimeLineColorFrame (const tinyxml2::XMLElement *objectData) |
flatbuffers::Offset < flatbuffers::TimeLineTextureFrame > | createTimeLineTextureFrame (const tinyxml2::XMLElement *objectData) |
var | createTimeLineTextureFrame ( var objectData) |
local | createTimeLineTextureFrame ( local objectData) |
int | getResourceType (std::string key) |
std::string | getGUIClassName (const std::string &name) |
std::string | getWidgetReaderClassName (cocos2d::ui::Widget *widget) |
flatbuffers::FlatBufferBuilder * | createFlatBuffersWithXMLFileForSimulator (const std::string &xmlFileName) |
local | createFlatBuffersWithXMLFileForSimulator ( local xmlFileName) |
flatbuffers::Offset < flatbuffers::NodeTree > | createNodeTreeForSimulator (const tinyxml2::XMLElement *objectData, std::string classType) |
local | createNodeTreeForSimulator ( local objectData, local classType) |
flatbuffers::Offset < flatbuffers::ProjectNodeOptions > | createProjectNodeOptionsForSimulator (const tinyxml2::XMLElement *objectData) |
var | createProjectNodeOptionsForSimulator ( var objectData) |
local | createProjectNodeOptionsForSimulator ( local objectData) |
Static Public Member Functions | |
static FlatBuffersSerialize * | getInstance () |
static void | purge () |
Public Attributes | |
std::vector < flatbuffers::Offset < flatbuffers::String > > | _textures |
std::vector < flatbuffers::Offset < flatbuffers::String > > | _texturePngs |
bool | _isSimulator |
var FlatBuffersSerialize | ( | ) |
local FlatBuffersSerialize | ( | ) |
~FlatBuffersSerialize | ( | ) |
var ~FlatBuffersSerialize | ( | ) |
local ~FlatBuffersSerialize | ( | ) |
flatbuffers::FlatBufferBuilder* createFlatBuffersWithXMLFileForSimulator |
( | const std::string & | xmlFileName | ) |
var createFlatBuffersWithXMLFileForSimulator |
( | var | xmlFileName | ) |
local createFlatBuffersWithXMLFileForSimulator |
( | local | xmlFileName | ) |
flatbuffers::Offset <flatbuffers::NodeAction> createNodeAction |
( | const tinyxml2::XMLElement * | objectData | ) |
var createNodeAction | ( | var | objectData | ) |
local createNodeAction | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::NodeTree> createNodeTree |
( | const tinyxml2::XMLElement * | objectData, |
std::string | classType | ||
) |
var createNodeTree | ( | var | objectData, |
var | classType | ||
) |
local createNodeTree | ( | local | objectData, |
local | classType | ||
) |
flatbuffers::Offset <flatbuffers::NodeTree> createNodeTreeForSimulator |
( | const tinyxml2::XMLElement * | objectData, |
std::string | classType | ||
) |
var createNodeTreeForSimulator | ( | var | objectData, |
var | classType | ||
) |
local createNodeTreeForSimulator | ( | local | objectData, |
local | classType | ||
) |
flatbuffers::Offset <flatbuffers::ProjectNodeOptions> createProjectNodeOptionsForSimulator |
( | const tinyxml2::XMLElement * | objectData | ) |
var createProjectNodeOptionsForSimulator |
( | var | objectData | ) |
local createProjectNodeOptionsForSimulator |
( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLine> createTimeLine |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLine | ( | var | objectData | ) |
local createTimeLine | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLineBoolFrame> createTimeLineBoolFrame |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLineBoolFrame | ( | var | objectData | ) |
local createTimeLineBoolFrame | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLineColorFrame> createTimeLineColorFrame |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLineColorFrame | ( | var | objectData | ) |
local createTimeLineColorFrame | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLineIntFrame> createTimeLineIntFrame |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLineIntFrame | ( | var | objectData | ) |
local createTimeLineIntFrame | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLinePointFrame> createTimeLinePointFrame |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLinePointFrame | ( | var | objectData | ) |
local createTimeLinePointFrame | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLineStringFrame> createTimeLineStringFrame |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLineStringFrame | ( | var | objectData | ) |
local createTimeLineStringFrame | ( | local | objectData | ) |
flatbuffers::Offset <flatbuffers::TimeLineTextureFrame> createTimeLineTextureFrame |
( | const tinyxml2::XMLElement * | objectData | ) |
var createTimeLineTextureFrame | ( | var | objectData | ) |
local createTimeLineTextureFrame | ( | local | objectData | ) |
void deleteFlatBufferBuilder | ( | ) |
var deleteFlatBufferBuilder | ( | ) |
local deleteFlatBufferBuilder | ( | ) |
std::string getGUIClassName | ( | const std::string & | name | ) |
var getGUIClassName | ( | var | name | ) |
local getGUIClassName | ( | local | name | ) |
|
static |
|
static |
|
static |
int getResourceType | ( | std::string | key | ) |
var getResourceType | ( | var | key | ) |
local getResourceType | ( | local | key | ) |
std::string getWidgetReaderClassName |
( | cocos2d::ui::Widget * | widget | ) |
var getWidgetReaderClassName | ( | var | widget | ) |
local getWidgetReaderClassName | ( | local | widget | ) |
|
static |
|
static |
|
static |
std::string serializeFlatBuffersWithXMLFile |
( | const std::string & | xmlFileName, |
const std::string & | flatbuffersFileName | ||
) |
var serializeFlatBuffersWithXMLFile | ( | var | xmlFileName, |
var | flatbuffersFileName | ||
) |
local serializeFlatBuffersWithXMLFile |
( | local | xmlFileName, |
local | flatbuffersFileName | ||
) |
std::string test | ( | const std::string & | xmlFileName, |
const std::string & | flatbuffersFileName | ||
) |
var test | ( | var | xmlFileName, |
var | flatbuffersFileName | ||
) |
local test | ( | local | xmlFileName, |
local | flatbuffersFileName | ||
) |
bool _isSimulator |
var _isSimulator |
local _isSimulator |
std::vector <flatbuffers::Offset <flatbuffers::String> > _texturePngs |
var _texturePngs |
local _texturePngs |
std::vector <flatbuffers::Offset <flatbuffers::String> > _textures |
var _textures |
local _textures |