modifs de l'installation automatique et ajouts configs files autofill cpp
This commit is contained in:
71
config_files/skeleton.cpp
Normal file
71
config_files/skeleton.cpp
Normal file
@@ -0,0 +1,71 @@
|
||||
#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";
|
||||
|
||||
Reference in New Issue
Block a user