retdec
|
#include <yara_meta.h>
Public Types | |
enum class | Type { String , Int } |
Public Member Functions | |
Const getters | |
const std::string & | getId () const |
YaraMeta::Type | getType () const |
const std::string & | getStringValue () const |
const std::uint64_t & | getIntValue () const |
Getters | |
std::string & | getStringValue () |
std::uint64_t & | getIntValue () |
Setters | |
void | setId (const std::string &metaId) |
void | setType (YaraMeta::Type metaType) |
void | setStringValue (const std::string &metaValue) |
void | setIntValue (std::uint64_t metaValue) |
Private Attributes | |
std::string | id |
name of meta More... | |
Type | type |
std::string | strValue |
std::uint64_t | intValue |
Representation of metadata
|
strong |
const std::string & retdec::yaracpp::YaraMeta::getId | ( | ) | const |
Get name of meta
std::uint64_t & retdec::yaracpp::YaraMeta::getIntValue | ( | ) |
Get int value of meta
const std::uint64_t & retdec::yaracpp::YaraMeta::getIntValue | ( | ) | const |
Get int value of meta
std::string & retdec::yaracpp::YaraMeta::getStringValue | ( | ) |
Get string value of meta
const std::string & retdec::yaracpp::YaraMeta::getStringValue | ( | ) | const |
Get string value of meta
YaraMeta::Type retdec::yaracpp::YaraMeta::getType | ( | ) | const |
Get type of meta
void retdec::yaracpp::YaraMeta::setId | ( | const std::string & | metaId | ) |
Set name of meta
metaId | Name of meta |
void retdec::yaracpp::YaraMeta::setIntValue | ( | std::uint64_t | metaValue | ) |
Set int value of meta
metaValue | Int value of meta |
void retdec::yaracpp::YaraMeta::setStringValue | ( | const std::string & | metaValue | ) |
Set string value of meta
metaValue | String value of meta |
void retdec::yaracpp::YaraMeta::setType | ( | YaraMeta::Type | metaType | ) |
Set type of meta
metaType | Type of meta |
|
private |
name of meta
|
private |
|
private |
|
private |