29 #include "../common/WProperties.h"
33 : m_infoProperties( std::shared_ptr<
WProperties >( new
WProperties(
"Grid Properties",
"Grid's information properties" ) ) ),
37 WPropInt sizeGrid =
m_infoProperties->addProperty(
"Grid size: ",
"The number of positions in the grid.",
static_cast<int>(
m_size ) );
std::shared_ptr< WPropertyGroup > m_infoProperties
The property object for the grid containing only props whose purpose is "PV_PURPOSE_INFORMNATION".
virtual ~WGrid()
Since WGrid is a base class and thus should be polymorphic we add virtual destructor.
WGrid(size_t size)
Constructs a new WGrid instance.
size_t size() const
The number of positions in this grid.
size_t m_size
Stores the number of positions.
std::shared_ptr< WPropertyGroup > getInformationProperties() const
Returns a pointer to the information properties object of the grid.
Class to manage properties of an object and to provide convenience methods for easy access and manipu...