WsdlPull::PortType Class Reference

#include <PortType.h>

Inheritance diagram for WsdlPull::PortType:

Inheritance graph
[legend]
Collaboration diagram for WsdlPull::PortType:

Collaboration graph
[legend]

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


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(), and printPortTypes().

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(), and printPortTypes().

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.


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

Generated on Sat Jan 10 19:07:18 2009 for wsdlpull by  doxygen 1.5.5