A location node description. This describe a location on a hierachical view.
More...
#include <locationnode.hpp>
A location node description. This describe a location on a hierachical view.
◆ LocationNode()
logicalaccess::LocationNode::LocationNode |
( |
| ) |
|
◆ ~LocationNode()
logicalaccess::LocationNode::~LocationNode |
( |
| ) |
|
|
virtual |
◆ getCanRead()
bool logicalaccess::LocationNode::getCanRead |
( |
| ) |
const |
Get if read is possible.
- Returns
- True if read is possible, false otherwise.
◆ getCanWrite()
bool logicalaccess::LocationNode::getCanWrite |
( |
| ) |
const |
Get if write is possible.
- Returns
- True if write is possible, false otherwise.
◆ getChildrens()
std::vector< std::shared_ptr< LocationNode > > & logicalaccess::LocationNode::getChildrens |
( |
| ) |
|
Get the childrens node.
- Returns
- The childrens node.
◆ getHasProperties()
bool logicalaccess::LocationNode::getHasProperties |
( |
| ) |
const |
Get if the node has properties.
- Returns
- True if the node has properties, false otherwise.
◆ getLength()
size_t logicalaccess::LocationNode::getLength |
( |
| ) |
const |
Get the node length.
- Returns
- The node length.
◆ getLocation()
std::shared_ptr< Location > logicalaccess::LocationNode::getLocation |
( |
| ) |
const |
Get the associated location.
- Returns
- The associated location.
◆ getName()
std::string logicalaccess::LocationNode::getName |
( |
| ) |
const |
Get the node name.
- Returns
- The node name.
◆ getNeedAuthentication()
bool logicalaccess::LocationNode::getNeedAuthentication |
( |
| ) |
const |
Get if authentication is needed.
- Returns
- True if authentication is needed, false otherwise.
◆ getParent()
std::shared_ptr< LocationNode > logicalaccess::LocationNode::getParent |
( |
| ) |
const |
Get the parent node.
- Returns
- The parent node.
◆ getUnit()
size_t logicalaccess::LocationNode::getUnit |
( |
| ) |
const |
Get the byte unit.
- Returns
- The byte unit.
◆ setCanRead()
void logicalaccess::LocationNode::setCanRead |
( |
bool |
can | ) |
|
Set if read is possible.
- Parameters
-
can | True if read is possible, false otherwise. |
◆ setCanWrite()
void logicalaccess::LocationNode::setCanWrite |
( |
bool |
can | ) |
|
Set if write is possible.
- Parameters
-
can | True if write is possible, false otherwise. |
◆ setHasProperties()
void logicalaccess::LocationNode::setHasProperties |
( |
bool |
hasProperties | ) |
|
Set if the node has properties.
- Parameters
-
hasProperties | The node has properties or not. |
◆ setLength()
void logicalaccess::LocationNode::setLength |
( |
size_t |
length | ) |
|
Set the node length.
- Parameters
-
◆ setLocation()
void logicalaccess::LocationNode::setLocation |
( |
std::shared_ptr< Location > |
location | ) |
|
Set the associated location.
- Parameters
-
location | The associated location. |
◆ setName()
void logicalaccess::LocationNode::setName |
( |
const std::string & |
name | ) |
|
Set the node name.
- Parameters
-
◆ setNeedAuthentication()
void logicalaccess::LocationNode::setNeedAuthentication |
( |
bool |
needed | ) |
|
Set if authentication is needed.
- Parameters
-
needed | Authentication needed. |
◆ setParent()
void logicalaccess::LocationNode::setParent |
( |
std::weak_ptr< LocationNode > |
parent | ) |
|
Set the parent node.
- Parameters
-
◆ setUnit()
void logicalaccess::LocationNode::setUnit |
( |
size_t |
unit | ) |
|
Set the byte unit.
- Parameters
-
◆ d_can_read
bool logicalaccess::LocationNode::d_can_read |
|
protected |
◆ d_can_write
bool logicalaccess::LocationNode::d_can_write |
|
protected |
◆ d_childrens
std::vector<std::shared_ptr<LocationNode> > logicalaccess::LocationNode::d_childrens |
|
protected |
◆ d_hasProperties
bool logicalaccess::LocationNode::d_hasProperties |
|
protected |
The node has properties or not.
◆ d_length
size_t logicalaccess::LocationNode::d_length |
|
protected |
◆ d_location
std::shared_ptr<Location> logicalaccess::LocationNode::d_location |
|
protected |
◆ d_name
std::string logicalaccess::LocationNode::d_name |
|
protected |
The current location node name.
◆ d_needAuthentication
bool logicalaccess::LocationNode::d_needAuthentication |
|
protected |
Need authentication to access the node data.
◆ d_parent
std::weak_ptr<LocationNode> logicalaccess::LocationNode::d_parent |
|
protected |
◆ d_unit
size_t logicalaccess::LocationNode::d_unit |
|
protected |
The documentation for this class was generated from the following files: