81 lines
2.6 KiB
Plaintext
81 lines
2.6 KiB
Plaintext
// Filename: eggFilenameNode.I
|
|
// Created by: drose (11Feb99)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Default constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode::
|
|
EggFilenameNode() {
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode::
|
|
EggFilenameNode(const string &node_name, const string &filename) :
|
|
EggNode(node_name), Filename(filename) {
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Copy constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode::
|
|
EggFilenameNode(const EggFilenameNode ©) :
|
|
EggNode(copy), Filename(copy) {
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Copy assignment operator
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode &EggFilenameNode::
|
|
operator = (const EggFilenameNode ©) {
|
|
EggNode::operator = (copy);
|
|
Filename::operator = (copy);
|
|
return *this;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Assignment operator
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode &EggFilenameNode::
|
|
operator = (const string &filename) {
|
|
Filename::operator = (filename);
|
|
return *this;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Assignment operator
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode &EggFilenameNode::
|
|
operator = (const char *filename) {
|
|
Filename::operator = (filename);
|
|
return *this;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: EggFilenameNode::Assignment operator
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE EggFilenameNode &EggFilenameNode::
|
|
operator = (const Filename &filename) {
|
|
Filename::operator = (filename);
|
|
return *this;
|
|
}
|
|
|