CBuild
C++ build system with scripts written in c++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CBuild::types::file Class Reference

File structure. More...

Public Member Functions

 file (std::string path)
 Create new file structure, simply init all values.
 

Public Attributes

std::string abs_path
 Absolute file path.
 
std::vector< CBuild::types::fileincludes
 Project includes.
 
uint64_t hash_new
 New file hash.
 
lib::optional< uint64_t > hash_old
 Old file hash.
 
bool cpp
 Does file is cpp file.
 
bool change
 Does file changed.
 
std::string object
 Related objet file.
 

Detailed Description

File structure.

Definition at line 68 of file hash.cpp.

Constructor & Destructor Documentation

◆ file()

CBuild::types::file::file ( std::string path)
inline

Create new file structure, simply init all values.

Parameters
path=> string -> Absolute file path

Definition at line 102 of file hash.cpp.

References CBuild::consts::check_type(), and lib::optional< T >::clear().

Member Data Documentation

◆ abs_path

std::string CBuild::types::file::abs_path

Absolute file path.

Definition at line 72 of file hash.cpp.

◆ change

bool CBuild::types::file::change

Does file changed.

Definition at line 92 of file hash.cpp.

◆ cpp

bool CBuild::types::file::cpp

Does file is cpp file.

Definition at line 88 of file hash.cpp.

◆ hash_new

uint64_t CBuild::types::file::hash_new

New file hash.

Definition at line 80 of file hash.cpp.

◆ hash_old

lib::optional<uint64_t> CBuild::types::file::hash_old

Old file hash.

Definition at line 84 of file hash.cpp.

◆ includes

std::vector<CBuild::types::file> CBuild::types::file::includes

Project includes.

Definition at line 76 of file hash.cpp.

◆ object

std::string CBuild::types::file::object

Related objet file.

Definition at line 96 of file hash.cpp.


The documentation for this class was generated from the following file: