SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::logging::FileInfo Struct Reference

#include <FileInfo.h>

Inheritance diagram for sofa::helper::logging::FileInfo:

Detailed Description

To keep a trace (file,line) from where the message have been created The filename must be a valid pointer throughoug the message processing If this cannot be guaranteed then use the FileInfoOwningFilename class instead.

Public Attributes

const char * filename {nullptr}
 
int line {0}
 

Public Member Functions

 FileInfo (const char *f, int l)
 

Protected Member Functions

 FileInfo ()
 

Attribute details

const char* sofa::helper::logging::FileInfo::filename {nullptr}
int sofa::helper::logging::FileInfo::line {0}

Constructor details

sofa::helper::logging::FileInfo::FileInfo ( const char *  f,
int  l 
)
inline
sofa::helper::logging::FileInfo::FileInfo ( )
inlineprotected