⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlwriter.h

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 H
📖 第 1 页 / 共 2 页
字号:
        Buffer& out,        const char* name,        const CIMObjectPath& instanceName);    static void appendObjectNameIParameter(        Buffer& out,        const char* name,        const CIMObjectPath& objectName);    static void appendClassIParameter(        Buffer& out,        const char* name,        const CIMConstClass& cimClass);    static void appendInstanceIParameter(        Buffer& out,        const char* name,        const CIMConstInstance& instance);    static void appendNamedInstanceIParameter(        Buffer& out,        const char* name,        const CIMInstance& namedInstance) ;    static void appendPropertyNameIParameter(        Buffer& out,        const CIMName& propertyName);    static void appendPropertyValueIParameter(        Buffer& out,        const char* name,        const CIMValue& value);    static void appendPropertyListIParameter(        Buffer& out,        const CIMPropertyList& propertyList);    static void appendQualifierDeclarationIParameter(        Buffer& out,        const char* name,        const CIMConstQualifierDecl& qualifierDecl);    static Buffer formatHttpErrorRspMessage(        const String& status,        const String& cimError = String::EMPTY,        const String& errorDetail = String::EMPTY);    static Buffer formatSimpleMethodReqMessage(        const char* host,        const CIMNamespaceName& nameSpace,        const CIMObjectPath& path,        const CIMName& methodName,        const Array<CIMParamValue>& parameters,        const String& messageId,        HttpMethod httpMethod,        const String& authenticationHeader,        const AcceptLanguageList& httpAcceptLanguages,        const ContentLanguageList& httpContentLanguages);    // PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in    // response header    static Buffer formatSimpleMethodRspMessage(        const CIMName& methodName,        const String& messageId,        HttpMethod httpMethod,        const ContentLanguageList& httpContentLanguages,        const Buffer& body,        Uint64 serverResponseTime,        Boolean isFirst = true,        Boolean isLast = true);    static Buffer formatSimpleMethodErrorRspMessage(        const CIMName& methodName,        const String& messageId,        HttpMethod httpMethod,        const CIMException& cimException);    static Buffer formatSimpleIMethodReqMessage(        const char* host,        const CIMNamespaceName& nameSpace,        const CIMName& iMethodName,        const String& messageId,        HttpMethod httpMethod,        const String& authenticationHeader,        const AcceptLanguageList& httpAcceptLanguages,        const ContentLanguageList& httpContentLanguages,        const Buffer& body);    // PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in    // response header    static Buffer formatSimpleIMethodRspMessage(        const CIMName& iMethodName,        const String& messageId,        HttpMethod httpMethod,        const ContentLanguageList& httpContentLanguages,        const Buffer& body,        Uint64 serverResponseTime,        Boolean isFirst = true,        Boolean isLast = true);    static Buffer formatSimpleIMethodErrorRspMessage(        const CIMName& iMethodName,        const String& messageId,        HttpMethod httpMethod,        const CIMException& cimException);    static void appendInstanceEParameter(        Buffer& out,        const char* name,        const CIMInstance& instance);    static void appendEMethodRequestHeader(        Buffer& out,        const char* requestUri,        const char* host,        const CIMName& cimMethod,        HttpMethod httpMethod,        const String& authenticationHeader,        const AcceptLanguageList& acceptLanguages,        const ContentLanguageList& contentLanguages,        Uint32 contentLength);    static void appendEMethodResponseHeader(        Buffer& out,        HttpMethod httpMethod,        const ContentLanguageList& contentLanguages,        Uint32 contentLength);    static Buffer formatSimpleEMethodReqMessage(        const char* requestUri,        const char* host,        const CIMName& eMethodName,        const String& messageId,        HttpMethod httpMethod,        const String& authenticationHeader,        const AcceptLanguageList& httpAcceptLanguages,        const ContentLanguageList& httpContentLanguages,        const Buffer& body);    static Buffer formatSimpleEMethodRspMessage(        const CIMName& eMethodName,        const String& messageId,        HttpMethod httpMethod,        const ContentLanguageList& httpContentLanguages,        const Buffer& body);    static Buffer formatSimpleEMethodErrorRspMessage(        const CIMName& eMethodName,        const String& messageId,        HttpMethod httpMethod,        const CIMException& cimException);    static void indentedPrint(        PEGASUS_STD(ostream)& os,        const char* text,        Uint32 indentChars = 2);    static String getNextMessageId();    /** Converts the given CIMKeyBinding type to one of the following:        "boolean", "string", or "numeric"    */    static const char* keyBindingTypeToString (CIMKeyBinding::Type type);private:    static void _appendMessageElementBegin(        Buffer& out,        const String& messageId);        static void _appendMessageElementEnd(        Buffer& out);    static void _appendSimpleReqElementBegin(Buffer& out);    static void _appendSimpleReqElementEnd(Buffer& out);    static void _appendMethodCallElementBegin(        Buffer& out,        const CIMName& name);    static void _appendMethodCallElementEnd(        Buffer& out);    static void _appendIMethodCallElementBegin(        Buffer& out,        const CIMName& name);        static void _appendIMethodCallElementEnd(        Buffer& out);    static void _appendIParamValueElementBegin(        Buffer& out,        const char* name);        static void _appendIParamValueElementEnd(        Buffer& out);    static void _appendSimpleRspElementBegin(Buffer& out);    static void _appendSimpleRspElementEnd(Buffer& out);    static void _appendMethodResponseElementBegin(        Buffer& out,        const CIMName& name);        static void _appendMethodResponseElementEnd(        Buffer& out);    static void _appendIMethodResponseElementBegin(        Buffer& out,        const CIMName& name);        static void _appendIMethodResponseElementEnd(        Buffer& out);    static void _appendErrorElement(        Buffer& out,        const CIMException& cimException);    static void _appendIReturnValueElementBegin(Buffer& out);    static void _appendIReturnValueElementEnd(Buffer& out);    static void _appendSimpleExportReqElementBegin(Buffer& out);    static void _appendSimpleExportReqElementEnd(Buffer& out);    static void _appendEMethodCallElementBegin(        Buffer& out,        const CIMName& name);    static void _appendEMethodCallElementEnd(        Buffer& out);    static void _appendEParamValueElementBegin(        Buffer& out,        const char* name);        static void _appendEParamValueElementEnd(        Buffer& out);    static void _appendSimpleExportRspElementBegin(Buffer& out);    static void _appendSimpleExportRspElementEnd(Buffer& out);    static void _appendEMethodResponseElementBegin(        Buffer& out,        const CIMName& name);    static void _appendEMethodResponseElementEnd(        Buffer& out);    XmlWriter() { }};PEGASUS_COMMON_LINKAGE Buffer& operator<<(    Buffer& out,    const char* x);inline Buffer& operator<<(Buffer& out, char x){    out.append(x);    return out;}inline Buffer& operator<<(Buffer& out, const char* s){    out.append(s, strlen(s));    return out;}PEGASUS_COMMON_LINKAGE Buffer& operator<<(Buffer& out, const Char16& x);PEGASUS_COMMON_LINKAGE Buffer& operator<<(    Buffer& out,    const String& x);PEGASUS_COMMON_LINKAGE Buffer& operator<<(    Buffer& out,    const Indentor& x);PEGASUS_COMMON_LINKAGE Buffer& operator<<(    Buffer& out,    const Buffer& x);PEGASUS_COMMON_LINKAGE Buffer& operator<<(    Buffer& out,    Uint32 x);PEGASUS_COMMON_LINKAGE Buffer& operator<<(    Buffer& out,    const CIMName& name);PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(    PEGASUS_STD(ostream)& os,    const CIMDateTime& x);PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(    PEGASUS_STD(ostream)& os,    const CIMName& name);PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(    PEGASUS_STD(ostream)& os,    const CIMNamespaceName& name);PEGASUS_NAMESPACE_END#endif /* Pegasus_XmlWriter_h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -