WsdlPull::PortType Class Reference

#include <PortType.h>

Inheritance diagram for WsdlPull::PortType:

WsdlPull::WsdlElement List of all members.

Public Types

typedef std::list< PortType
* >::iterator 
PortTypeIterator
typedef std::list< PortType
* >::const_iterator 
cPortTypeIterator

Public Member Functions

 PortType (WsdlParser &w)
 ~PortType ()
virtual void print (std::ostream &out)
Various Getter methods
int getNumOps (void) const
const OperationgetOperation (int index) const
const OperationgetOperation (const Qname &name) const
int getOperationIndex (const Qname &name) const
bool getOperations (Operation::cOpIterator &start, Operation::cOpIterator &finish) const
binding
Returns:
const Binding* returns Binding associated with the port type which has a binding protocol specified by 'nsp'


const Binding * binding (const std::string &nsp) const
Various Setter methods
void addOp (Operation *op)
void setBinding (Binding *bn)

Protected Attributes

std::string name_
int id_
std::vector< int > extElems_
std::vector< int > extAttributes_
std::string * doc_
WsdlParserwParser_

Detailed Description

Definition at line 30 of file PortType.h.


Member Typedef Documentation

typedef std::list<PortType*>::iterator WsdlPull::PortType::PortTypeIterator

Definition at line 33 of file PortType.h.

typedef std::list<PortType*>::const_iterator WsdlPull::PortType::cPortTypeIterator

Definition at line 34 of file PortType.h.


Constructor & Destructor Documentation

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

Definition at line 87 of file PortType.h.

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

Definition at line 93 of file PortType.h.


Member Function Documentation

int WsdlPull::PortType::getNumOps ( void   )  const [inline]

Definition at line 102 of file PortType.h.

Referenced by WsdlPull::WsdlParser::getOperation().

const Operation * WsdlPull::PortType::getOperation ( int  index  )  const [inline]

getOperation

Parameters:
index of the operation index:0..ops.size()-1
Returns:
pointer to the Operation

Definition at line 109 of file PortType.h.

Referenced by WsdlPull::WsdlParser::getOperation().

const Operation * WsdlPull::PortType::getOperation ( const Qname name  )  const [inline]

getOperation

Parameters:
name of the operation
Returns:
pointer to the Operation

Definition at line 128 of file PortType.h.

References Qname::getLocalName(), and WsdlPull::WsdlElement::getName().

int WsdlPull::PortType::getOperationIndex ( const Qname name  )  const [inline]

Definition at line 116 of file PortType.h.

References Qname::getLocalName(), and WsdlPull::WsdlElement::getName().

bool WsdlPull::PortType::getOperations ( Operation::cOpIterator start,
Operation::cOpIterator finish 
) const [inline]

getOperations

Returns:
bool returns the iterators to start and end of operations

Definition at line 140 of file PortType.h.

Referenced by WsdlPull::WsdlParser::getOperations().

const Binding * WsdlPull::PortType::binding ( const std::string &  nsp  )  const [inline]

Definition at line 165 of file PortType.h.

void WsdlPull::PortType::addOp ( Operation op  )  [inline]

Definition at line 151 of file PortType.h.

void WsdlPull::PortType::setBinding ( Binding *  bn  )  [inline]

Definition at line 158 of file PortType.h.

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(), getOperation(), 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 file:
Generated on Mon Jul 19 21:20:30 2010 for wsdlpull by  doxygen 1.4.7