This immutable class contains information about source code file.
More...
#include <CDataController.h>
|
| | CModule () |
| | 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.
◆ CModule() [1/2]
| isys::CModule::CModule |
( |
| ) |
|
|
inline |
◆ CModule() [2/2]
| isys::CModule::CModule |
( |
const std::string & | path, |
|
|
const std::string & | name ) |
|
inline |
Instantiates object.
Constructor is not intended to be used by clients.
- Parameters
-
| 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 |
- Since
- 9.12.288
◆ getName()
| std::string isys::CModule::getName |
( |
| ) |
const |
|
inline |
Returns file name without directory.
Example: main.c.
- Since
- 9.12.288
◆ getPath()
| std::string isys::CModule::getPath |
( |
| ) |
const |
|
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
- Since
- 9.12.288