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

Class Index

kdelibs'AttributeDef (./kdelibs/arts/mcop/core.h:155)

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

	std::string name;
	std::string type;
	AttributeType flags;

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


kdelibs'AttributeDef::AttributeDef() (./kdelibs/arts/mcop/core.cc:396)

AttributeDef::AttributeDef()
{
}


kdelibs'AttributeDef::AttributeDef() (./kdelibs/arts/mcop/core.cc:400)

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


kdelibs'AttributeDef::AttributeDef() (./kdelibs/arts/mcop/core.cc:407)

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


kdelibs'AttributeDef::AttributeDef() (./kdelibs/arts/mcop/core.cc:412)

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


kdelibs'AttributeDef::~AttributeDef() (./kdelibs/arts/mcop/core.cc:427)

AttributeDef::~AttributeDef()
{
}


kdelibs'AttributeDef::readType() (./kdelibs/arts/mcop/core.cc:431)

void AttributeDef::readType(Buffer& stream)
{
	stream.readString(name);
	stream.readString(type);
	flags = (AttributeType)stream.readLong();
}


kdelibs'AttributeDef::writeType() (./kdelibs/arts/mcop/core.cc:438)

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