Source Code (Use browser search to find items of interest.)

Class Index

kdelibs'TypeComponent (./kdelibs/arts/mcop/core.h:193)

class TypeComponent : public Type {
public:
	TypeComponent();
	TypeComponent(const std::string& type, const std::string& name);
	TypeComponent(Buffer& stream);
	TypeComponent(const TypeComponent& copyType);
	TypeComponent& operator=(const TypeComponent& assignType);
	virtual ~TypeComponent();

	std::string type;
	std::string name;

// marshalling functions
	void readType(Buffer& stream);
	void writeType(Buffer& stream) const;
};


kdelibs'TypeComponent::TypeComponent() (./kdelibs/arts/mcop/core.cc:502)

TypeComponent::TypeComponent()
{
}


kdelibs'TypeComponent::TypeComponent() (./kdelibs/arts/mcop/core.cc:506)

TypeComponent::TypeComponent(const std::string& type, const std::string& name)
{
	this->type = type;
	this->name = name;
}


kdelibs'TypeComponent::TypeComponent() (./kdelibs/arts/mcop/core.cc:512)

TypeComponent::TypeComponent(Buffer& stream)
{
	readType(stream);
}


kdelibs'TypeComponent::TypeComponent() (./kdelibs/arts/mcop/core.cc:517)

TypeComponent::TypeComponent(const TypeComponent& copyType) : ::Type(copyType)
{
	Buffer buffer;
	copyType.writeType(buffer);
	readType(buffer);
}


kdelibs'TypeComponent::~TypeComponent() (./kdelibs/arts/mcop/core.cc:532)

TypeComponent::~TypeComponent()
{
}


kdelibs'TypeComponent::readType() (./kdelibs/arts/mcop/core.cc:536)

void TypeComponent::readType(Buffer& stream)
{
	stream.readString(type);
	stream.readString(name);
}


kdelibs'TypeComponent::writeType() (./kdelibs/arts/mcop/core.cc:542)

void TypeComponent::writeType(Buffer& stream) const
{
	stream.writeString(type);
	stream.writeString(name);
}