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 
)
std::string WsdlPull::WsdlElement::getName (  )  const [inline, inherited]
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]
bool WsdlPull::WsdlElement::getExtensibilityAttributes ( const std::string &  namespc,
std::vector< int > &  ids 
) [inherited]
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]

Member Data Documentation

std::string WsdlPull::WsdlElement::name_ [protected, inherited]
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]
std::vector<int> WsdlPull::WsdlElement::extAttributes_ [protected, inherited]
std::string* WsdlPull::WsdlElement::doc_ [protected, inherited]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2