This immutable class contains information about source code file. More...
#include <CDataController.h>
Public Member Functions | |
| CModule (const std::string &path, const std::string &name) | |
| Instantiates object. | |
| std::string | getName () const |
| Returns file name without directory. | |
| std::string | getPath () const |
| Returns source file name including folder relative to winIDEA workspace, or abs path, if the file is not below winIDEA workspace dir. | |
This immutable class contains information about source code file.
|
inline |
Instantiates object.
Constructor is not intended to be used by clients.
| path | source file name including directory relative to winIDEA workspace, or abs path, if the file is not below winIDEA workspace directory. Example: 'src/comomn/main.c' |
| name | source file name without directory. Example: main.c |
|
inline |
Returns file name without directory.
Example: main.c.
|
inline |
Returns source file name including folder relative to winIDEA workspace, or abs path, if the file is not below winIDEA workspace dir.
Example: src/comomn/main.c