Revision 0a32fd63
Added by david.sorber over 2 years ago
| src/CatalogItem.h | ||
|---|---|---|
|
{
|
||
|
public:
|
||
|
|
||
|
static inline const uint32_t VALUE_BUFFER_SIZE{1024};
|
||
|
|
||
|
CatalogItem(const std::string& key, const std::string& value);
|
||
|
|
||
|
~CatalogItem();
|
||
| ... | ... | |
|
return m_value;
|
||
|
}
|
||
|
|
||
|
inline char* getValueBuffer()
|
||
|
{
|
||
|
return m_valueBuffer;
|
||
|
}
|
||
|
|
||
|
inline uint32_t getValueBufferSize() const
|
||
|
{
|
||
|
return VALUE_BUFFER_SIZE;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Should this CatalogItem be visible
|
||
|
* @return
|
||
| ... | ... | |
|
std::string m_keyLower;
|
||
|
std::string m_value;
|
||
|
|
||
|
char m_valueBuffer[VALUE_BUFFER_SIZE];
|
||
|
|
||
|
bool m_visible;
|
||
|
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
Improved filtering and added parsing input from a plaintext file.