Files
huhuhu_config/config_files/skeleton.cpp

72 lines
1.6 KiB
C++

#include "FileName.hpp"
#define COPLIEN_COLOR B_CYAN
/*********************************************
* CONSTRUCTORS
*********************************************/
FileName::FileName( std::string foo = FileName::_bar ) : _foo(foo) {
// std::cout << COPLIEN_COLOR "FileName constructor" RESET "\n";
return;
}
FileName::FileName( FileName const & src ) {
// std::cout << COPLIEN_COLOR "FileName copy constructor" RESET "\n";
*this = src;
return;
}
/*********************************************
* DESTRUCTORS
*********************************************/
FileName::~FileName() {
// std::cout << COPLIEN_COLOR "FileName destructor" RESET "\n";
return;
}
/*********************************************
* OPERATORS
*********************************************/
FileName & FileName::operator=( FileName const & rhs ) {
// Base::operator=(rhs);
if ( this != &rhs )
{
// _foo = rhs.getFoo();
}
return *this;
}
//std::ostream & operator<<(std::ostream & o, FileName const & rhs)
//{
// o << rhs.getFoo();
// return (o);
//}
/*********************************************
* ACCESSORS
*********************************************/
//std::string FileName::getFoo() const {return _foo;}
/*********************************************
* PUBLIC MEMBER FUNCTIONS
*********************************************/
//void FileName::function(const std::string & foo) {}
/*********************************************
* NESTED CLASS
*********************************************/
//void FileName::Class::function() {}
/*********************************************
* STATICS
*********************************************/
//std::string const FileName::_bar = "bar";