Diagram element representing some file or directory.
Definition at line 63 of file source_file.h.
|
| source_file ()=default |
|
| source_file (const std::filesystem::path &p) |
|
| source_file (const source_file &)=delete |
|
| source_file (source_file &&)=default |
|
source_file & | operator= (const source_file &)=delete |
|
source_file & | operator= (source_file &&)=delete |
|
bool | operator== (const source_file &right) const |
|
void | set_path (const filesystem_path &p) |
|
bool | is_absolute () const |
|
void | set_type (source_file_t type) |
|
source_file_t | type () const |
|
void | set_system_header (bool is_system) |
|
bool | is_system_header () const |
|
const filesystem_path & | path () const |
|
auto | full_path () const |
|
std::filesystem::path | fs_path (const std::filesystem::path &base={}) const |
|
| diagram_element () |
|
| ~diagram_element () override=default |
|
const eid_t & | id () const |
| Returns diagram element id.
|
|
void | set_id (eid_t id) |
|
std::optional< eid_t > | parent_element_id () const |
|
void | set_parent_element_id (eid_t id) |
|
virtual std::string | alias () const |
| Return elements' diagram alias.
|
|
void | set_name (const std::string &name) |
|
void | set_name (const std::string &parent, const std::string &name) |
|
std::string | name () const |
|
virtual std::string | type_name () const |
|
std::string | full_name (bool relative) const |
| Return the elements fully qualified name.
|
|
std::vector< relationship > & | relationships () |
|
const std::vector< relationship > & | relationships () const |
|
void | add_relationship (relationship &&cr) |
|
void | append (const decorated_element &e) |
|
bool | is_nested () const |
|
void | nested (bool nested) |
|
bool | complete () const |
|
void | complete (bool completed) |
|
void | remove_duplicate_relationships () |
|
virtual void | apply_filter (const diagram_filter &filter, const std::set< eid_t > &removed) |
|
virtual | ~decorated_element ()=default |
|
bool | skip () const |
|
bool | skip_relationship () const |
|
std::pair< relationship_t, std::string > | get_relationship () const |
|
std::string | style_spec () const |
|
const std::vector< std::shared_ptr< decorators::decorator > > & | decorators () const |
|
void | add_decorators (const std::vector< std::shared_ptr< decorators::decorator > > &decorators) |
|
void | append (const decorated_element &de) |
|
std::optional< comment_t > | comment () const |
|
void | set_comment (const comment_t &c) |
|
virtual std::optional< std::string > | doxygen_link () const |
|
| source_location ()=default |
|
| source_location (std::string f, unsigned int l) |
|
const std::string & | file () const |
|
void | set_file (const std::string &file) |
|
const std::string & | file_relative () const |
|
void | set_file_relative (const std::string &file) |
|
const std::string & | translation_unit () const |
|
void | set_translation_unit (const std::string &translation_unit) |
|
unsigned int | line () const |
|
void | set_line (const unsigned line) |
|
unsigned int | column () const |
|
void | set_column (const unsigned column) |
|
unsigned int | location_id () const |
|
void | set_location_id (unsigned int h) |
|
auto | memoize (bool is_complete, F &&f, Args... args) const |
|
void | invalidate (Args... args) const |
|
auto | memoize (bool is_complete, F &&f, Args... args) const |
|
void | invalidate (Args... args) const |
|
void | set_style (const std::string &style) |
|
std::optional< std::string > | style () const |
|
| nested_trait ()=default |
|
| nested_trait (const nested_trait &)=delete |
|
| nested_trait (nested_trait &&) noexcept=default |
|
nested_trait & | operator= (const nested_trait &)=delete |
|
nested_trait & | operator= (nested_trait &&) noexcept=default |
|
virtual | ~nested_trait ()=default |
|
bool | is_root () const |
|
void | is_root (bool a) |
|
bool | add_element (std::unique_ptr< V > p) |
|
bool | add_element (const filesystem_path &path, std::unique_ptr< V > p) |
|
auto | get_element (const filesystem_path &path) const |
|
auto | get_element (const std::string &name, bool is_root=false) const |
|
bool | all_of (F &&f) const |
|
bool | is_empty (bool include_inner_packages=false) const |
|
auto | begin () |
|
auto | begin () const |
|
auto | end () |
|
auto | end () const |
|
auto | cbegin () const |
|
auto | cend () const |
|
void | print_tree (const int level) const |
|
void | remove (const std::set< eid_t > &element_ids) |
|