wsdlpull 1.23
Loading...
Searching...
No Matches
WsdlPull::PortType Class Reference

#include <PortType.h>

Inheritance diagram for WsdlPull::PortType:
WsdlPull::WsdlElement

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 Bindingbinding (const std::string &nsp) const
 
Various Getter methods
std::string getName () const
 
const std::string getDocumentation () const
 
getExtensibilityElements/getExtensibilityAttributes

return the extensibility elements/attributes belonging to a given namespace @params namspace uri @params 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 addOp (Operation *op)
 
void setBinding (Binding *bn)
 

Various Setter methods

void setName (std::string nam)
 
void addExtElement (int ident)
 
void addExtAttribute (int ident)
 
void setDocumentation (std::string *s)
 
virtual void print (std::ostream &out)
 
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

◆ PortTypeIterator

Definition at line 33 of file PortType.h.

◆ cPortTypeIterator

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

Definition at line 34 of file PortType.h.

Constructor & Destructor Documentation

◆ PortType()

WsdlPull::PortType::PortType ( WsdlParser & w)
inline

Definition at line 87 of file PortType.h.

◆ ~PortType()

WsdlPull::PortType::~PortType ( )
inline

Definition at line 93 of file PortType.h.

Member Function Documentation

◆ getNumOps()

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

getOperation

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

Definition at line 102 of file PortType.h.

Referenced by WsdlPull::WsdlParser::getOperation(), and printPortTypes().

◆ getOperation() [1/2]

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

getOperation

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

◆ getOperation() [2/2]

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

getOperation

Parameters
nameof the operation
Returns
pointer to the Operation

Definition at line 128 of file PortType.h.

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

◆ getOperationIndex()

int WsdlPull::PortType::getOperationIndex ( const Qname & name) const
inline

getOperation

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

Definition at line 116 of file PortType.h.

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

◆ getOperations()

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

◆ binding()

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

Definition at line 165 of file PortType.h.

◆ addOp()

void WsdlPull::PortType::addOp ( Operation * op)
inline

Definition at line 151 of file PortType.h.

◆ setBinding()

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

Definition at line 158 of file PortType.h.

◆ 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

Definition at line 127 of file WsdlElement.h.

References WsdlPull::WsdlElement::name_.

◆ addExtElement()

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

Definition at line 140 of file WsdlElement.h.

References WsdlPull::WsdlElement::extElems_.

Referenced by WsdlPull::Binding::setBindingInfo().

◆ addExtAttribute()

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

Definition at line 147 of file WsdlElement.h.

References WsdlPull::WsdlElement::extAttributes_.

◆ setDocumentation()

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

Definition at line 133 of file WsdlElement.h.

References WsdlPull::WsdlElement::doc_.

◆ 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 file: