namespace: etk


Description:



namespace:

class:

enum:

Synopsis:

  etk::CCout &       operator <<              (etk::CCout & _os,
const std::string & _obj);
etk::CCout & operator << (etk::CCout & _os,
const std::vector<std::string> & _obj);
etk::CCout & operator << (etk::CCout & _os,
const std::u32string & _obj);
etk::CCout & operator << (etk::CCout & _os,
const std::vector<std::u32string> & _obj);
externetk::CCout cout;
externetk::CEndl endl;
externetk::CStart cstart;
etk::CCout & operator << (etk::CCout & _os,
const enum etk::logLevel _obj);
void displayBacktrace (bool _breakAtEnd);
void makeRandom (float range);
T maxDifference (const Matrix<T> & input);
T max;
for(int32_t iii;
iii<m_data size ()&&iii<inputm_datasize ();
++iii (+ iii);
Matrix4 matFrustum (float xmin,
float xmax,
float ymin,
float ymax,
float zNear,
float zFar);
Matrix4 matPerspective (float foxy,
float aspect,
float zNear,
float zFar);
Matrix4 matOrtho (float left,
float right,
float bottom,
float top,
float nearVal,
float farVal);
Matrix4 matTranslate (vec3 vect);
Matrix4 matScale (vec3 vect);
Matrix4 matRotate (vec3 vect,
float angleRad);
Matrix4 matRotate2 (vec3 vect);
Matrix4 matLookAt (vec3 eye,
vec3 center,
vec3 up);
etk::CCout & operator << (etk::CCout & os,
const etk::Matrix4 obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector3D<int32_t> obj);
etk::CCout & operator << (etk::CCout & os,
const btVector3 obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector3D<uint32_t> obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector3D<bool> obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<int32_t> obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<float> obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<uint32_t> obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<bool> obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<int32_t> & obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<float> & obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<uint32_t> & obj);
etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<bool> & obj);
void setArgZero (const std::string & _val);
std::string simplifyPath (std::string _input);
etk::CCout & operator << (etk::CCout & _os,
const enum etk::typeNode & _obj);
etk::CCout & operator << (etk::CCout & _os,
const enum etk::FSNType & _obj);
etk::CCout & operator << (etk::CCout & _os,
const etk::FSNode & _obj);
void setBaseFolderData (const char* _folder);
void setBaseFolderDataUser (const char* _folder);
void setBaseFolderCache (const char* _folder);
void initDefaultFolder (const char* _applName);
std::string getUserHomeFolder (void );
std::u32string getUUserHomeFolder (void );
std::string getUserRunFolder (void );
std::u32string getUUserRunFolder (void );
bool FSNodeRemove (const std::string & _path);
bool FSNodeRemove (const std::u32string & _path);
int64_t FSNodeGetCount (const std::string & _path);
int64_t FSNodeGetCount (const std::u32string & _path);
bool FSNodeCreate (const std::string & _path,
etk::FSNodeRight _right,
enum etk::typeNode _type);
bool FSNodeCreate (const std::u32string & _path,
etk::FSNodeRight _right,
enum etk::typeNode _type);
bool FSNodeExist (const std::string & _path);
bool FSNodeExist (const std::u32string & _path);
bool FSNodeMove (const std::string & _path1,
const std::string & _path2);
bool FSNodeMove (const std::u32string & _path1,
const std::u32string & _path2);
etk::FSNodeRight FSNodeGetRight (const std::string & _path);
etk::FSNodeRight FSNodeGetRight (const std::u32string & _path);
enum etk::typeNode FSNodeGetType (const std::string & _path);
enum etk::typeNode FSNodeGetType (const std::u32string & _path);
uint64_t FSNodeGetTimeCreated (const std::string & _path);
uint64_t FSNodeGetTimeCreated (const std::u32string & _path);
uint64_t FSNodeGetTimeModified (const std::string & _path);
uint64_t FSNodeGetTimeModified (const std::u32string & _path);
uint64_t FSNodeGetTimeAccessed (const std::string & _path);
uint64_t FSNodeGetTimeAccessed (const std::u32string & _path);
bool FSNodeTouch (const std::string & _path);
bool FSNodeTouch (const std::u32string & _path);
bool FSNodeEcho (const std::string & _path,
const std::string & _dataTowrite);
bool FSNodeEcho (const std::u32string & _path,
const std::u32string & _dataTowrite);
bool FSNodeEchoAdd (const std::string & _path,
const std::string & _dataTowrite);
bool FSNodeEchoAdd (const std::u32string & _path,
const std::u32string & _dataTowrite);
void FSNodeHistory (const std::string & _path,
int32_t _historyCount);
void FSNodeHistory (const std::u32string & _path,
int32_t _historyCount);
etk::CCout & operator << (etk::CCout & _os,
const etk::FSNodeRight & _obj);

Detail:

operator <<

  etk::CCout & operator << (etk::CCout & _os,
const std::string & _obj);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const std::vector<std::string> & _obj);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const std::u32string & _obj);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const std::vector<std::u32string> & _obj);



cout

  externetk::CCout cout;



endl

  externetk::CEndl endl;



cstart

  externetk::CStart cstart;



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const enum etk::logLevel _obj);
Debug operator To display the curent element in a Human redeable information


displayBacktrace

  void displayBacktrace (bool _breakAtEnd);
Display the current backtrace (only implemented in linux debug mode)


makeRandom

  void makeRandom (float range);
Generate a compleate random Matrix.


maxDifference

  T maxDifference (const Matrix<T> & input);
Return the maximum of the diff for this Matrix.


max

  T max;



iii

  for(int32_t iii;



size

  iii<m_data size ()&&iii<inputm_datasize ();



  ++iii  (+ iii);



matFrustum

  Matrix4 matFrustum (float xmin,
float xmax,
float ymin,
float ymax,
float zNear,
float zFar);



matPerspective

  Matrix4 matPerspective (float foxy,
float aspect,
float zNear,
float zFar);



matOrtho

  Matrix4 matOrtho (float left,
float right,
float bottom,
float top,
float nearVal,
float farVal);



matTranslate

  Matrix4 matTranslate (vec3 vect);



matScale

  Matrix4 matScale (vec3 vect);



matRotate

  Matrix4 matRotate (vec3 vect,
float angleRad);



matRotate2

  Matrix4 matRotate2 (vec3 vect);



matLookAt

  Matrix4 matLookAt (vec3 eye,
vec3 center,
vec3 up);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Matrix4 obj);
Debug operator To display the curent element in a Human redeable information


operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector3D<int32_t> obj);
Debug operator To display the curent element in a Human redeable information


operator <<

  etk::CCout & operator << (etk::CCout & os,
const btVector3 obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector3D<uint32_t> obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector3D<bool> obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<int32_t> obj);
Debug operator To display the curent element in a Human redeable information


operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<float> obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<uint32_t> obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector4D<bool> obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<int32_t> & obj);
Debug operator To display the curent element in a Human redeable information


operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<float> & obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<uint32_t> & obj);



operator <<

  etk::CCout & operator << (etk::CCout & os,
const etk::Vector2D<bool> & obj);



setArgZero

  void setArgZero (const std::string & _val);



simplifyPath

  std::string simplifyPath (std::string _input);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const enum etk::typeNode & _obj);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const enum etk::FSNType & _obj);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const etk::FSNode & _obj);



setBaseFolderData

  void setBaseFolderData (const char* _folder);
Set manualy the folder of the Data.(like /usr/shared/applName/ for linux)


setBaseFolderDataUser

  void setBaseFolderDataUser (const char* _folder);
Set the user data folder (like /home/machin/.local/applName/ for linux)


setBaseFolderCache

  void setBaseFolderCache (const char* _folder);
Set the Cach folder for the application (like /tmp)


initDefaultFolder

  void initDefaultFolder (const char* _applName);
Initialyse all the subFolder usable by the user like DATA/HOME/CACHE/USERDATA


getUserHomeFolder

  std::string getUserHomeFolder (void );
Get the home folder of the user


getUUserHomeFolder

  std::u32string getUUserHomeFolder (void );



getUserRunFolder

  std::string getUserRunFolder (void );
Get the folder of the Program is running


getUUserRunFolder

  std::u32string getUUserRunFolder (void );



FSNodeRemove

  bool FSNodeRemove (const std::string & _path);
Simple access for : Remove folder and subFolder, files pipes ...


FSNodeRemove

  bool FSNodeRemove (const std::u32string & _path);



FSNodeGetCount

  int64_t FSNodeGetCount (const std::string & _path);
Simple access for : count the number of element in a path (if it is not a path ==> return -1)


FSNodeGetCount

  int64_t FSNodeGetCount (const std::u32string & _path);



FSNodeCreate

  bool FSNodeCreate (const std::string & _path,
etk::FSNodeRight _right,
enum etk::typeNode _type);
Simple access for : Create a file or a folder depending of the request


FSNodeCreate

  bool FSNodeCreate (const std::u32string & _path,
etk::FSNodeRight _right,
enum etk::typeNode _type);



FSNodeExist

  bool FSNodeExist (const std::string & _path);
Simple access for : chexk the exestance of an element


FSNodeExist

  bool FSNodeExist (const std::u32string & _path);



FSNodeMove

  bool FSNodeMove (const std::string & _path1,
const std::string & _path2);
Simple access for : chexk the exestance of an element


FSNodeMove

  bool FSNodeMove (const std::u32string & _path1,
const std::u32string & _path2);



FSNodeGetRight

  etk::FSNodeRight FSNodeGetRight (const std::string & _path);
Simple access for : Get right of the current Node


FSNodeGetRight

  etk::FSNodeRight FSNodeGetRight (const std::u32string & _path);



FSNodeGetType

  enum etk::typeNode FSNodeGetType (const std::string & _path);
Simple access for : Get type of the current node


FSNodeGetType

  enum etk::typeNode FSNodeGetType (const std::u32string & _path);



FSNodeGetTimeCreated

  uint64_t FSNodeGetTimeCreated (const std::string & _path);
Simple access for : Getting creation time of the current node


FSNodeGetTimeCreated

  uint64_t FSNodeGetTimeCreated (const std::u32string & _path);



FSNodeGetTimeModified

  uint64_t FSNodeGetTimeModified (const std::string & _path);
Simple access for : Getting Modification time of the current node


FSNodeGetTimeModified

  uint64_t FSNodeGetTimeModified (const std::u32string & _path);



FSNodeGetTimeAccessed

  uint64_t FSNodeGetTimeAccessed (const std::string & _path);
Simple access for : Getting Accessing time of the current node


FSNodeGetTimeAccessed

  uint64_t FSNodeGetTimeAccessed (const std::u32string & _path);



FSNodeTouch

  bool FSNodeTouch (const std::string & _path);
Simple access for : Update Modification time with the current time of the node (>)


FSNodeTouch

  bool FSNodeTouch (const std::u32string & _path);



FSNodeEcho

  bool FSNodeEcho (const std::string & _path,
const std::string & _dataTowrite);
Simple access for : Basic write on the node (like console echo)


FSNodeEcho

  bool FSNodeEcho (const std::u32string & _path,
const std::u32string & _dataTowrite);



FSNodeEchoAdd

  bool FSNodeEchoAdd (const std::string & _path,
const std::string & _dataTowrite);
Simple access for : Basic write on the node (like console echo) in adding mode (>>)


FSNodeEchoAdd

  bool FSNodeEchoAdd (const std::u32string & _path,
const std::u32string & _dataTowrite);



FSNodeHistory

  void FSNodeHistory (const std::string & _path,
int32_t _historyCount);
move file to generate an history of the current file


FSNodeHistory

  void FSNodeHistory (const std::u32string & _path,
int32_t _historyCount);



operator <<

  etk::CCout & operator << (etk::CCout & _os,
const etk::FSNodeRight & _obj);