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

getOperation

Parameters:
index of 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().

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]

getOperation

Parameters:
index of 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().

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.

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 file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2