Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opietooth2::OTSDPService Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/opietooth2/OTSDPService.h>

List of all members.

Public Member Functions

 OTSDPService ()
virtual ~OTSDPService ()
void addAttribute (int id, OTSDPAttribute *attr)
const OTSDPAttributeattribute (int index)
int attributeID (int index)
AttributeVector subAttributes (OTSDPAttribute *attr)
OTSDPAttributeattributeByID (int id)
bool recordHandle (uint32_t *handle)
QString name (void)
QString description (void)
UUIDVector allUUIDs ()
UUIDVector classIDList ()
bool rfcommChannel (unsigned int &n)
bool hasClassID (const OTUUID &uuid)

Private Attributes

QArray< AttributeEntryattributeList

Classes

struct  AttributeEntry


Detailed Description

Author:
Fred Schaettgen

Definition at line 24 of file OTSDPService.h.


Constructor & Destructor Documentation

OTSDPService::OTSDPService  ) 
 

Definition at line 18 of file OTSDPService.cpp.

OTSDPService::~OTSDPService  )  [virtual]
 

Definition at line 21 of file OTSDPService.cpp.

References attributeList.


Member Function Documentation

void OTSDPService::addAttribute int  id,
OTSDPAttribute attr
 

Definition at line 27 of file OTSDPService.cpp.

References attributeList.

Referenced by Opietooth2::OTPeer::updateServices().

UUIDVector OTSDPService::allUUIDs  ) 
 

Definition at line 83 of file OTSDPService.cpp.

References attributeList, and i.

const OTSDPAttribute & OTSDPService::attribute int  index  ) 
 

Definition at line 34 of file OTSDPService.cpp.

References attributeList.

OTSDPAttribute * OTSDPService::attributeByID int  id  ) 
 

Definition at line 43 of file OTSDPService.cpp.

References attributeList.

Referenced by classIDList(), description(), hasClassID(), name(), recordHandle(), and rfcommChannel().

int OTSDPService::attributeID int  index  ) 
 

Definition at line 38 of file OTSDPService.cpp.

References attributeList.

UUIDVector OTSDPService::classIDList void   ) 
 

Get a vector of UUID of the services class Id List

Definition at line 164 of file OTSDPService.cpp.

References attributeByID(), Opietooth2::OTSDPAttribute::getSequence(), i, and Opietooth2::OTSDPAttribute::UUID.

QString OTSDPService::description void   ) 
 

Definition at line 73 of file OTSDPService.cpp.

References attributeByID(), Opietooth2::OTSDPAttribute::getString(), Opietooth2::OTSDPAttribute::getType(), S, and Opietooth2::OTSDPAttribute::STRING.

bool OTSDPService::hasClassID const OTUUID uuid  ) 
 

Definition at line 142 of file OTSDPService.cpp.

References attributeByID(), Opietooth2::OTSDPAttribute::getSequence(), i, and Opietooth2::OTSDPAttribute::UUID.

QString OTSDPService::name void   ) 
 

Definition at line 63 of file OTSDPService.cpp.

References attributeByID(), Opietooth2::OTSDPAttribute::getString(), Opietooth2::OTSDPAttribute::getType(), S, and Opietooth2::OTSDPAttribute::STRING.

bool OTSDPService::recordHandle uint32_t *  handle  ) 
 

Definition at line 53 of file OTSDPService.cpp.

References attributeByID(), Opietooth2::OTSDPAttribute::getType(), Opietooth2::OTSDPAttribute::getUInt(), and Opietooth2::OTSDPAttribute::UINT.

bool OTSDPService::rfcommChannel unsigned int &  n  ) 
 

Retrieves the Rfcomm channel. This function is provided just for conveniance.

Parameters:
n The Rfcomm channel. true if an rfcomm channel was found, false otherwise.

Definition at line 101 of file OTSDPService.cpp.

References attributeByID(), Opietooth2::OTSDPAttribute::getSequence(), i, Opietooth2::OTSDPAttribute::UINT, and Opietooth2::OTSDPAttribute::UUID.

AttributeVector Opietooth2::OTSDPService::subAttributes OTSDPAttribute attr  ) 
 


Member Data Documentation

QArray<AttributeEntry> Opietooth2::OTSDPService::attributeList [private]
 

Definition at line 70 of file OTSDPService.h.

Referenced by addAttribute(), allUUIDs(), attribute(), attributeByID(), attributeID(), and ~OTSDPService().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:08 2005 for OPIE by  doxygen 1.4.2