|
Rosetta
|
File node that hold concreate data with concreate file-name. More...
#include <file.h>

Classes | |
| struct | LessFileSP |
Public Types | |
| enum class | Kind |
Public Member Functions | |
| File (Kind kind=Kind::none, QString const &name=QString(), QByteArray const &file_data=QByteArray()) | |
| FileID | file_id () const |
| Kind | kind () const |
| void | kind (Kind kind) |
| QString const & | name () const |
| void | name (QString const &_name) |
| QByteArray | data () const |
| void | data (QByteArray const &_file_data) |
| QString | hash () const |
| void | hash (QString const &_hash) |
| QString | local_file_name () const |
| bool | empty () const |
| File & | operator= (File &&other) noexcept |
| bool | operator== (File const &r) const |
| bool | operator!= (File const &r) const |
Static Public Member Functions | |
| static FileSP | init_from_local_file (QString const &local_file_name) |
Private Attributes | |
| QString | hash_ |
| QByteArray | file_data_ |
| QString | local_file_name_ |
Private Attributes inherited from ui::task::FileID | |
| Kind | kind_ = Kind::none |
| QString | name_ |
Friends | |
| QDataStream & | operator<< (QDataStream &, File const &) |
| QDataStream & | operator>> (QDataStream &, File &) |
| QDataStream & | operator<< (QDataStream &, File::Kind k) |
| QDataStream & | operator>> (QDataStream &, File::Kind &k) |
Additional Inherited Members | |
Private Types inherited from ui::task::FileID | |
| enum class | Kind { none , input , output } |
Private Member Functions inherited from ui::task::FileID | |
| FileID (Kind kind, QString name) | |
| bool | operator== (FileID const &r) const |
| bool | operator!= (FileID const &r) const |
File node that hold concreate data with concreate file-name.
|
strong |
|
explicit |
References data().
| QByteArray ui::task::File::data | ( | ) | const |
References file_data_.
Referenced by File().
| void ui::task::File::data | ( | QByteArray const & | _file_data | ) |
References file_data_.
|
inline |
References file_data_.
|
inline |
|
inline |
References hash_.
|
inline |
References hash_.
|
static |
|
inline |
References ui::task::FileID::kind_.
|
inline |
References kind(), and ui::task::FileID::kind_.
Referenced by kind().
|
inline |
References local_file_name_.
|
inline |
References ui::task::FileID::name_.
Referenced by pyrosetta.distributed.docs.ComponentDoc::__repr__(), options_class.Option::getCName(), options_class.Option::getDoxygenRow(), options_class.Option::getMarkdownRow(), options_class.Option::getOptionKeysCC(), options_class.Option::getWikiTableRow(), enumerate_junctions.DHR::print(), enumerate_junctions.DHR::to_component(), and enumerate_junctions.DHR::write_to_file().
|
inline |
References ui::task::FileID::name_.
Referenced by pyrosetta.distributed.docs.ComponentDoc::__repr__(), options_class.Option::getCName(), options_class.Option::getDoxygenRow(), options_class.Option::getMarkdownRow(), options_class.Option::getOptionKeysCC(), options_class.Option::getWikiTableRow(), enumerate_junctions.DHR::print(), enumerate_junctions.DHR::to_component(), and enumerate_junctions.DHR::write_to_file().
|
inline |
References create_a3b_hbs::r.
References ui::task::FileID::kind_.
| bool ui::task::File::operator== | ( | File const & | r | ) | const |
References file_data_, ui::task::FileID::kind_, and ui::task::FileID::name_.
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Referenced by data(), empty(), and operator==().
|
private |
Referenced by hash().
|
private |
Referenced by local_file_name().