sxObject Class Reference

sxObject class More...

#include <sxObject.h>

Inheritance diagram for sxObject:

sxCaptionItem sxTimer sxComponent sxConnection sxNetwork sxPort sxUiConnection sxUiDesign sxInPort sxOutPort sxUiInPort sxUiOutPort

List of all members.

Public Member Functions

virtual QString ToString () const
 Convert this object to string.
virtual const char * ToPrintable () const
 Convert this object to printable string.
void SetTag (quintptr tag)
 Associate tag (type of int) to this object.
quintptr Tag () const
 Get associated tag.
void SetName (const QString &name)
 Set name of this object.
QString Name () const
 Name of the object.

Protected Member Functions

 sxObject (const QString &name)
 Construct object with given name.


Detailed Description

sxObject class

Constructor & Destructor Documentation

sxObject::sxObject ( const QString &  name  )  [explicit, protected]

Construct object with given name.

Parameters:
name name of the object


Member Function Documentation

void sxObject::SetName ( const QString &  name  ) 

Set name of this object.

Parameters:
name name to be set

void sxObject::SetTag ( quintptr  tag  ) 

Associate tag (type of int) to this object.

Parameters:
tag tag value

Referenced by sxNetwork::SortComponents().

quintptr sxObject::Tag (  )  const

Get associated tag.

Tag value is 32-bit unsigned integer on 32-bit platforms, 64-bit unsigned integer on 64-bit platform

See also:
SetTag()

Referenced by sxNetwork::SortComponents().

const char * sxObject::ToPrintable (  )  const [virtual]

Convert this object to printable string.

Returns:
pointer to const char *

QString sxObject::ToString (  )  const [virtual]

Convert this object to string.

Default implementation will return "[name()]"

Referenced by sxComponent::ErrorMessage().


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

Generated on Wed Dec 17 19:30:47 2008 for xBCI API by  doxygen 1.5.7.1