45 size_t s = GetIconSize();
49 void SetIcon(
int size,
const string &data)
58 void SetIconData(
const string &data) {
SetValueString(IconDataTag,
"", data); }
59 void SetIconSize(
int size) {
SetValueLong(IconSizeTag,
"", size); }
void SetData(const string &data)
size_t GetIconDataSize() const
static int DefaultIconSize()
BookmarkParams(VAPoR::ParamsBase::StateSave *ssave)
static const string IconSizeTag
BookmarkParams(const BookmarkParams &rhs)
static const string DataTag
static const string NameTag
string GetIconData() const
void SetIcon(int size, const string &data)
void SetName(const string &name)
static string GetClassType()
static const string IconDataTag
BookmarkParams(VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node)
A class for describing mouse modes in use in VAPOR.
Nodes with state in Xml tree representation.
virtual void SetValueString(const string &tag, string description, const string &value)
virtual string GetValueString(const string tag, string defaultVal) const
virtual void SetValueLong(const string &tag, string description, long value)
virtual long GetValueLong(const string tag, long defaultVal) const