wsdlpull 1.23
|
#include <Message.h>
Public Member Functions | |||
Message (WsdlParser &w) | |||
~Message () | |||
virtual void | print (std::ostream &out) | ||
getNumParts | |||
| |||
int | getNumParts (void) const | ||
getPartIndex | |||
| |||
int | getPartIndex (std::string &nam) const | ||
int | getPartType (int index) const | ||
int | getPartType (const std::string &nam) const | ||
const Element * | getPartElement (int index) const | ||
const Part * | getMessagePart (size_t index) const | ||
const Part * | getMessagePart (const std::string &nam) const | ||
int | getPartContentSchemaId (int index) const | ||
int | getPartContentSchemaId (const std::string &nam) const | ||
std::string | getPartName (int index) const | ||
Part::PartRefType | getPartRefType (const std::string &nam) const | ||
Part::PartRefType | getPartRefType (int index) const | ||
Various Setter methods | |||
void | addPart (std::string pname, Part::PartRefType reftype, void *d, int schema_id) | ||
Various Getter methods | |||
std::string | getName () const | ||
const std::string | getDocumentation () const | ||
getExtensibilityElements/getExtensibilityAttributes | |||
return the extensibility elements/attributes belonging to a given namespace namspace uri reference to a vector<int>
| |||
bool | getExtensibilityElements (const std::string &namespc, std::vector< int > &ids) | ||
bool | getExtensibilityAttributes (const std::string &namespc, std::vector< int > &ids) | ||
Various Setter methods | |||
void | setName (std::string nam) | ||
void | addExtElement (int ident) | ||
void | addExtAttribute (int ident) | ||
void | setDocumentation (std::string *s) | ||
Protected Attributes | |||
std::string | name_ | ||
int | id_ | ||
std::vector< int > | extElems_ | ||
std::vector< int > | extAttributes_ | ||
std::string * | doc_ | ||
WsdlParser & | wParser_ |
WsdlPull::Message::Message | ( | WsdlParser & | w | ) | [inline] |
int WsdlPull::Message::getNumParts | ( | void | ) | const [inline] |
int WsdlPull::Message::getPartIndex | ( | std::string & | nam | ) | const |
Definition at line 27 of file Message.cpp.
int WsdlPull::Message::getPartType | ( | int | index | ) | const [inline] |
int WsdlPull::Message::getPartType | ( | const std::string & | nam | ) | const |
Definition at line 64 of file Message.cpp.
References WsdlPull::Part::type().
const Element * WsdlPull::Message::getPartElement | ( | int | index | ) | const [inline] |
const Part * WsdlPull::Message::getMessagePart | ( | size_t | index | ) | const |
Definition at line 85 of file Message.cpp.
const Part * WsdlPull::Message::getMessagePart | ( | const std::string & | nam | ) | const |
Definition at line 55 of file Message.cpp.
int WsdlPull::Message::getPartContentSchemaId | ( | int | index | ) | const [inline] |
int WsdlPull::Message::getPartContentSchemaId | ( | const std::string & | nam | ) | const |
Definition at line 75 of file Message.cpp.
References WsdlPull::Part::schemaId().
std::string WsdlPull::Message::getPartName | ( | int | index | ) | const [inline] |
Part::PartRefType WsdlPull::Message::getPartRefType | ( | const std::string & | nam | ) | const |
Definition at line 44 of file Message.cpp.
References Schema::None, and WsdlPull::Part::refType().
Part::PartRefType WsdlPull::Message::getPartRefType | ( | int | index | ) | const |
Definition at line 38 of file Message.cpp.
void WsdlPull::Message::addPart | ( | std::string | pname, |
Part::PartRefType | reftype, | ||
void * | d, | ||
int | schema_id | ||
) |
Definition at line 94 of file Message.cpp.
References WsdlPull::Part::setPartElement(), and WsdlPull::Part::setPartType().
std::string WsdlPull::WsdlElement::getName | ( | ) | const [inline, inherited] |
getName
Definition at line 110 of file WsdlElement.h.
References WsdlPull::WsdlElement::name_.
Referenced by WsdlPull::WsdlParser::getOperation(), WsdlPull::PortType::getOperation(), WsdlPull::PortType::getOperationIndex(), WsdlPull::WsdlInvoker::invoke(), and printPortTypes().
const std::string WsdlPull::WsdlElement::getDocumentation | ( | ) | const [inline, inherited] |
getDocumentation
Definition at line 117 of file WsdlElement.h.
References WsdlPull::WsdlElement::doc_.
bool WsdlPull::WsdlElement::getExtensibilityElements | ( | const std::string & | namespc, |
std::vector< int > & | ids | ||
) | [inherited] |
Definition at line 39 of file WsdlElement.cpp.
References WsdlPull::WsdlElement::extElems_, WsdlPull::WsdlExtension::getElementName(), WsdlPull::WsdlParser::getExtensibilityHandler(), and WsdlPull::WsdlElement::wParser_.
bool WsdlPull::WsdlElement::getExtensibilityAttributes | ( | const std::string & | namespc, |
std::vector< int > & | ids | ||
) | [inherited] |
Definition at line 58 of file WsdlElement.cpp.
References WsdlPull::WsdlElement::extAttributes_, WsdlPull::WsdlExtension::getAttributeName(), WsdlPull::WsdlParser::getExtensibilityHandler(), and WsdlPull::WsdlElement::wParser_.
void WsdlPull::WsdlElement::setName | ( | std::string | nam | ) | [inline, inherited] |
Definition at line 127 of file WsdlElement.h.
References WsdlPull::WsdlElement::name_.
void WsdlPull::WsdlElement::addExtElement | ( | int | ident | ) | [inline, inherited] |
Definition at line 140 of file WsdlElement.h.
References WsdlPull::WsdlElement::extElems_.
void WsdlPull::WsdlElement::addExtAttribute | ( | int | ident | ) | [inline, inherited] |
Definition at line 147 of file WsdlElement.h.
References WsdlPull::WsdlElement::extAttributes_.
void WsdlPull::WsdlElement::setDocumentation | ( | std::string * | s | ) | [inline, inherited] |
Definition at line 133 of file WsdlElement.h.
References WsdlPull::WsdlElement::doc_.
void WsdlPull::WsdlElement::print | ( | std::ostream & | out | ) | [virtual, inherited] |
Reimplemented in WsdlPull::Operation.
Definition at line 25 of file WsdlElement.cpp.
References XmlUtils::dbsp(), WsdlPull::WsdlElement::extAttributes_, and WsdlPull::WsdlElement::extElems_.
std::string WsdlPull::WsdlElement::name_ [protected, inherited] |
Definition at line 85 of file WsdlElement.h.
Referenced by WsdlPull::WsdlElement::getName(), WsdlPull::Operation::print(), and WsdlPull::WsdlElement::setName().
int WsdlPull::WsdlElement::id_ [protected, inherited] |
Definition at line 86 of file WsdlElement.h.
Referenced by WsdlPull::Operation::print().
std::vector<int> WsdlPull::WsdlElement::extElems_ [protected, inherited] |
Definition at line 87 of file WsdlElement.h.
Referenced by WsdlPull::WsdlElement::addExtElement(), WsdlPull::WsdlElement::getExtensibilityElements(), WsdlPull::WsdlElement::print(), and WsdlPull::WsdlElement::WsdlElement().
std::vector<int> WsdlPull::WsdlElement::extAttributes_ [protected, inherited] |
Definition at line 88 of file WsdlElement.h.
Referenced by WsdlPull::WsdlElement::addExtAttribute(), WsdlPull::WsdlElement::getExtensibilityAttributes(), WsdlPull::WsdlElement::print(), and WsdlPull::WsdlElement::WsdlElement().
std::string* WsdlPull::WsdlElement::doc_ [protected, inherited] |
Definition at line 89 of file WsdlElement.h.
Referenced by WsdlPull::WsdlElement::getDocumentation(), WsdlPull::WsdlElement::setDocumentation(), and WsdlPull::WsdlElement::WsdlElement().
WsdlParser& WsdlPull::WsdlElement::wParser_ [protected, inherited] |
Definition at line 91 of file WsdlElement.h.
Referenced by WsdlPull::WsdlElement::getExtensibilityAttributes(), and WsdlPull::WsdlElement::getExtensibilityElements().