WsdlPull::Message Class Reference

#include <Message.h>

Inheritance diagram for WsdlPull::Message:

WsdlPull::WsdlElement List of all members.

Public Member Functions

 Message (WsdlParser &w)
 ~Message ()
virtual void print (std::ostream &out)
getNumParts
Returns:
number of parts in the message


int getNumParts (void) const
getPartIndex
Parameters:
the name of the part
Returns:
index of the of the part whose name is passed index:0..nParts-1


int getPartIndex (std::string &nam) const
int getPartType (int index) const
int getPartType (const std::string &nam) const
const ElementgetPartElement (int index) const
const PartgetMessagePart (size_t index) const
const PartgetMessagePart (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>

Returns:
true if any extensibility elements were found


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_
WsdlParserwParser_

Detailed Description

Definition at line 63 of file Message.h.


Constructor & Destructor Documentation

WsdlPull::Message::Message ( WsdlParser w  )  [inline]

Definition at line 139 of file Message.h.

WsdlPull::Message::~Message (  )  [inline]

Definition at line 146 of file Message.h.


Member Function Documentation

int WsdlPull::Message::getNumParts ( void   )  const [inline]

Definition at line 153 of file Message.h.

int WsdlPull::Message::getPartIndex ( std::string &  nam  )  const

Definition at line 27 of file Message.cpp.

int WsdlPull::Message::getPartType ( int  index  )  const [inline]

Definition at line 174 of file Message.h.

int WsdlPull::Message::getPartType ( const std::string &  nam  )  const

Definition at line 64 of file Message.cpp.

References getMessagePart(), and WsdlPull::Part::type().

const Element * WsdlPull::Message::getPartElement ( int  index  )  const [inline]

Definition at line 181 of file Message.h.

const Part * WsdlPull::Message::getMessagePart ( size_t  index  )  const

Definition at line 85 of file Message.cpp.

Referenced by getPartContentSchemaId(), getPartRefType(), and getPartType().

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]

Definition at line 167 of file Message.h.

int WsdlPull::Message::getPartContentSchemaId ( const std::string &  nam  )  const

Definition at line 75 of file Message.cpp.

References getMessagePart(), and WsdlPull::Part::schemaId().

std::string WsdlPull::Message::getPartName ( int  index  )  const [inline]

Definition at line 160 of file Message.h.

Part::PartRefType WsdlPull::Message::getPartRefType ( const std::string &  nam  )  const

Definition at line 44 of file Message.cpp.

References getMessagePart(), WsdlPull::Part::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::Elem, WsdlPull::Part::setPartElement(), and WsdlPull::Part::setPartType().

std::string WsdlPull::WsdlElement::getName (  )  const [inline, inherited]

getName

Returns:
name of the WsdlElement

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_.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Mon Jul 19 21:20:20 2010 for wsdlpull by  doxygen 1.4.7