ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
xml_protocol Class Reference

Public Member Functions

std::string FieldType (const google::protobuf::FieldDescriptor *field)

Static Public Member Functions

static std::string get_cpp_type_name (const google::protobuf::FieldDescriptor *field)
static void nscript_func (const google::protobuf::Descriptor *messageDescriptor, std::string &lnamespace, const std::string &astruct)
static void nscript_auto (const google::protobuf::FileDescriptor *fileDescriptor, const std::string &axml)
static void nscript_foreachProtobuf (google::protobuf::compiler::DiskSourceTree &sourceTree, const char *aname)
static void xml_fun (const google::protobuf::FileDescriptor *fileDescriptor, int32_t &aprotocol, const std::string &axml)
static std::string register_fun (const google::protobuf::FileDescriptor *fileDescriptor, int32_t &aprotocol, const std::string &axml)
static std::string json1_fun (const google::protobuf::FileDescriptor *fileDescriptor, int32_t &aprotocol, const std::string &axml)
static void json2_fun (const std::string &astr)
static std::pair< std::string, std::string > foreachProtobuf (google::protobuf::compiler::DiskSourceTree &sourceTree, int32_t &aprotocol, const char *aname)
static void pb_protocol (const std::string &astr)
static void nactor_auto_fun (const google::protobuf::FileDescriptor *fileDescriptor, const std::string &axml)
static void nactor_auto (google::protobuf::compiler::DiskSourceTree &sourceTree, const char *aname)
static void db_fun (const char *apackname, const char *aname, const google::protobuf::FileDescriptor *fileDescriptor)
static void db (google::protobuf::compiler::DiskSourceTree &sourceTree, const char *apackname, const char *aname)
static void enum_actor (std::string aenum)
static void create_actor ()

Static Public Attributes

static std::stringstream g_stream_sql
static std::stringstream g_stream_pgsql
static std::stringstream g_stream_xml
static std::map< std::string, std::string > m_nscriptmap
static std::set< std::string > m_nscriptset

The documentation for this class was generated from the following file: