wsdlpull  1.23
Public Member Functions | Protected Attributes | List of all members
WsdlPull::Message Class Reference

#include <Message.h>

Inheritance diagram for WsdlPull::Message:
WsdlPull::WsdlElement

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
thename 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

§ Message()

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

Definition at line 139 of file Message.h.

§ ~Message()

WsdlPull::Message::~Message ( )
inline

Definition at line 146 of file Message.h.

Member Function Documentation

§ getNumParts()

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

Definition at line 153 of file Message.h.

Referenced by WsdlPull::WsdlInvoker::getServiceEndPoint().

§ getPartIndex()

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

Definition at line 27 of file Message.cpp.

Referenced by WsdlPull::Soap::handleAttribute().

§ getPartType() [1/2]

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

Definition at line 174 of file Message.h.

Referenced by WsdlPull::Soap::handleAttribute().

§ getPartType() [2/2]

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

Definition at line 64 of file Message.cpp.

References WsdlPull::Part::type().

§ getPartElement()

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

Definition at line 181 of file Message.h.

§ getMessagePart() [1/2]

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

§ getMessagePart() [2/2]

const Part * WsdlPull::Message::getMessagePart ( const std::string &  nam) const

Definition at line 55 of file Message.cpp.

§ getPartContentSchemaId() [1/2]

int WsdlPull::Message::getPartContentSchemaId ( int  index) const
inline

Definition at line 167 of file Message.h.

Referenced by WsdlPull::WsdlInvoker::getServiceEndPoint().

§ getPartContentSchemaId() [2/2]

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

Definition at line 75 of file Message.cpp.

References WsdlPull::Part::schemaId().

§ getPartName()

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

Definition at line 160 of file Message.h.

Referenced by WsdlPull::WsdlInvoker::getServiceEndPoint().

§ getPartRefType() [1/2]

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

Referenced by WsdlPull::WsdlInvoker::getServiceEndPoint().

§ getPartRefType() [2/2]

Part::PartRefType WsdlPull::Message::getPartRefType ( int  index) const

Definition at line 38 of file Message.cpp.

§ addPart()

void WsdlPull::Message::addPart ( std::string  pname,
Part::PartRefType  reftype,
void *  d,
int  schema_id 
)

§ getName()

std::string WsdlPull::WsdlElement::getName ( ) const
inlineinherited

§ getDocumentation()

const std::string WsdlPull::WsdlElement::getDocumentation ( ) const
inlineinherited

getDocumentation

Definition at line 117 of file WsdlElement.h.

References WsdlPull::WsdlElement::doc_.

§ getExtensibilityElements()

bool WsdlPull::WsdlElement::getExtensibilityElements ( const std::string &  namespc,
std::vector< int > &  ids 
)
inherited

§ getExtensibilityAttributes()

bool WsdlPull::WsdlElement::getExtensibilityAttributes ( const std::string &  namespc,
std::vector< int > &  ids 
)
inherited

§ setName()

void WsdlPull::WsdlElement::setName ( std::string  nam)
inlineinherited

§ addExtElement()

void WsdlPull::WsdlElement::addExtElement ( int  ident)
inlineinherited

Definition at line 140 of file WsdlElement.h.

References WsdlPull::WsdlElement::extElems_.

Referenced by WsdlPull::isValidWsdlElement().

§ addExtAttribute()

void WsdlPull::WsdlElement::addExtAttribute ( int  ident)
inlineinherited

Definition at line 147 of file WsdlElement.h.

References WsdlPull::WsdlElement::extAttributes_.

Referenced by WsdlPull::isValidWsdlElement().

§ setDocumentation()

void WsdlPull::WsdlElement::setDocumentation ( std::string *  s)
inlineinherited

§ print()

void WsdlPull::WsdlElement::print ( std::ostream &  out)
virtualinherited

Member Data Documentation

§ name_

std::string WsdlPull::WsdlElement::name_
protectedinherited

§ id_

int WsdlPull::WsdlElement::id_
protectedinherited

Definition at line 86 of file WsdlElement.h.

Referenced by WsdlPull::Operation::print().

§ extElems_

std::vector<int> WsdlPull::WsdlElement::extElems_
protectedinherited

§ extAttributes_

std::vector<int> WsdlPull::WsdlElement::extAttributes_
protectedinherited

§ doc_

std::string* WsdlPull::WsdlElement::doc_
protectedinherited

§ wParser_

WsdlParser& WsdlPull::WsdlElement::wParser_
protectedinherited

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