open62541
1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
deps
nodesetLoader
src
nodes
NodeContainer.h
Go to the documentation of this file.
1
/** This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
*
5
* Copyright 2020 (c) Matthias Konnerth
6
*/
7
8
#ifndef NODECONTAINER_H
9
#define NODECONTAINER_H
10
#include "
Nodeset.h
"
11
12
struct
NodeContainer
13
{
14
NL_Node
**
nodes
;
15
size_t
size
;
16
size_t
capacity
;
17
size_t
incrementSize
;
18
bool
owner
;
19
};
20
typedef
struct
NodeContainer
NodeContainer
;
21
22
NodeContainer
*
NodeContainer_new
(
size_t
initialSize,
bool
owner
);
23
void
NodeContainer_delete
(
NodeContainer
*container);
24
void
NodeContainer_add
(
NodeContainer
*container,
NL_Node
*node);
25
26
#endif
NodeContainer_new
NodeContainer * NodeContainer_new(size_t initialSize, bool owner)
NodeContainer_delete
void NodeContainer_delete(NodeContainer *container)
NodeContainer_add
void NodeContainer_add(NodeContainer *container, NL_Node *node)
Nodeset.h
NL_Node
Definition
NodesetLoader.h:94
NodeContainer
This Source Code Form is subject to the terms of the Mozilla Public License, v.
Definition
NodeContainer.h:13
NodeContainer::capacity
size_t capacity
Definition
NodeContainer.h:16
NodeContainer::owner
bool owner
Definition
NodeContainer.h:18
NodeContainer::size
size_t size
Definition
NodeContainer.h:15
NodeContainer::incrementSize
size_t incrementSize
Definition
NodeContainer.h:17
NodeContainer::nodes
NL_Node ** nodes
Definition
NodeContainer.h:14
Generated by
1.9.8