open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
NodesetLoader.h File Reference
#include <open62541/types.h>
#include <open62541/types_generated.h>
#include "Extension.h"
#include "Logger.h"
#include "ReferenceService.h"
#include "arch.h"
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Data Structures

struct  NL_BrowseName
 
struct  NL_Reference
 
struct  NL_BiDirectionalReference
 
struct  NL_LocalizedText
 
struct  NL_Node
 
struct  NL_InstanceNode
 
struct  NL_ObjectNode
 
struct  NL_ObjectTypeNode
 
struct  NL_VariableTypeNode
 
struct  NL_PrimitiveData
 
struct  NL_ComplexData
 
struct  NL_Data
 
struct  NL_Value
 
struct  NL_VariableNode
 
struct  NL_DataTypeDefinitionField
 
struct  NL_DataTypeDefinition
 
struct  NL_DataTypeNode
 
struct  NL_MethodNode
 
struct  NL_ReferenceTypeNode
 
struct  NL_ViewNode
 
struct  NL_FileContext
 

Macros

#define NL_NODECLASS_COUNT   8
 
#define NL_NODE_ATTRIBUTES
 
#define NL_NODE_INSTANCE_ATTRIBUTES   UA_NodeId parentNodeId;
 

Typedefs

typedef struct NL_Reference NL_Reference
 
typedef struct NL_BiDirectionalReference NL_BiDirectionalReference
 
typedef struct NL_LocalizedText NL_LocalizedText
 
typedef struct NL_Node NL_Node
 
typedef struct NL_InstanceNode NL_InstanceNode
 
typedef struct NL_ObjectNode NL_ObjectNode
 
typedef struct NL_ObjectTypeNode NL_ObjectTypeNode
 
typedef struct NL_VariableTypeNode NL_VariableTypeNode
 
typedef struct NL_Data NL_Data
 
typedef enum NL_DataType NL_DataType
 
typedef struct NL_PrimitiveData NL_PrimitiveData
 
typedef struct NL_ComplexData NL_ComplexData
 
typedef struct NL_Value NL_Value
 
typedef struct NL_VariableNode NL_VariableNode
 
typedef struct NL_DataTypeNode NL_DataTypeNode
 
typedef struct NL_MethodNode NL_MethodNode
 
typedef struct NL_ReferenceTypeNode NL_ReferenceTypeNode
 
typedef struct NL_ViewNode NL_ViewNode
 
typedef unsigned short(* NL_addNamespaceCallback) (void *userContext, const char *)
 
typedef struct NL_FileContext NL_FileContext
 
typedef struct NodesetLoader NodesetLoader
 
typedef void(* NodesetLoader_forEachNode_Func) (void *context, NL_Node *node)
 

Enumerations

enum  NL_NodeClass
 
enum  NL_DataType
 

Functions

NodesetLoaderNodesetLoader_new (NodesetLoader_Logger *logger, struct NL_ReferenceService *refService)
 
bool NodesetLoader_importFile (NodesetLoader *loader, const NL_FileContext *fileContext)
 
void NodesetLoader_delete (NodesetLoader *loader)
 
const NL_BiDirectionalReferenceNodesetLoader_getBidirectionalRefs (const NodesetLoader *loader)
 
bool NodesetLoader_sort (NodesetLoader *loader)
 
size_t NodesetLoader_forEachNode (NodesetLoader *loader, NL_NodeClass nodeClass, void *context, NodesetLoader_forEachNode_Func fn)
 
bool NodesetLoader_isInstanceNode (const NL_Node *baseNode)
 

Variables

const char * NL_NODECLASS_NAME [8]
 

Macro Definition Documentation

◆ NL_NODE_ATTRIBUTES

#define NL_NODE_ATTRIBUTES
Value:
NL_NodeClass nodeClass; \
NL_BrowseName browseName; \
NL_LocalizedText displayName; \
NL_LocalizedText description; \
char *writeMask; \
NL_Reference *hierachicalRefs; \
NL_Reference *nonHierachicalRefs; \
NL_Reference *unknownRefs; \
void *extension;
NL_NodeClass
return id
Definition types.h:341

Definition at line 79 of file NodesetLoader.h.

◆ NL_NODE_INSTANCE_ATTRIBUTES

#define NL_NODE_INSTANCE_ATTRIBUTES   UA_NodeId parentNodeId;

Definition at line 91 of file NodesetLoader.h.

◆ NL_NODECLASS_COUNT

#define NL_NODECLASS_COUNT   8

This Source Code Form is subject to the terms of the Mozilla Public License, v.

2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright 2020 (c) Matthias Konnerth

Definition at line 29 of file NodesetLoader.h.

Typedef Documentation

◆ NL_addNamespaceCallback

typedef unsigned short(* NL_addNamespaceCallback) (void *userContext, const char *)

Definition at line 245 of file NodesetLoader.h.

◆ NL_BiDirectionalReference

Definition at line 63 of file NodesetLoader.h.

◆ NL_ComplexData

Definition at line 152 of file NodesetLoader.h.

◆ NL_Data

typedef struct NL_Data NL_Data

Definition at line 133 of file NodesetLoader.h.

◆ NL_DataType

typedef enum NL_DataType NL_DataType

Definition at line 140 of file NodesetLoader.h.

◆ NL_DataTypeNode

Definition at line 217 of file NodesetLoader.h.

◆ NL_FileContext

Definition at line 254 of file NodesetLoader.h.

◆ NL_InstanceNode

Definition at line 104 of file NodesetLoader.h.

◆ NL_LocalizedText

Definition at line 77 of file NodesetLoader.h.

◆ NL_MethodNode

typedef struct NL_MethodNode NL_MethodNode

Definition at line 226 of file NodesetLoader.h.

◆ NL_Node

typedef struct NL_Node NL_Node

Definition at line 97 of file NodesetLoader.h.

◆ NL_ObjectNode

typedef struct NL_ObjectNode NL_ObjectNode

Definition at line 113 of file NodesetLoader.h.

◆ NL_ObjectTypeNode

Definition at line 120 of file NodesetLoader.h.

◆ NL_PrimitiveData

Definition at line 146 of file NodesetLoader.h.

◆ NL_Reference

typedef struct NL_Reference NL_Reference

Definition at line 52 of file NodesetLoader.h.

◆ NL_ReferenceTypeNode

Definition at line 234 of file NodesetLoader.h.

◆ NL_Value

typedef struct NL_Value NL_Value

Definition at line 176 of file NodesetLoader.h.

◆ NL_VariableNode

Definition at line 191 of file NodesetLoader.h.

◆ NL_VariableTypeNode

Definition at line 130 of file NodesetLoader.h.

◆ NL_ViewNode

typedef struct NL_ViewNode NL_ViewNode

Definition at line 243 of file NodesetLoader.h.

◆ NodesetLoader

typedef struct NodesetLoader NodesetLoader

Definition at line 257 of file NodesetLoader.h.

◆ NodesetLoader_forEachNode_Func

typedef void(* NodesetLoader_forEachNode_Func) (void *context, NL_Node *node)

Definition at line 267 of file NodesetLoader.h.

Enumeration Type Documentation

◆ NL_DataType

Enumerator
DATATYPE_PRIMITIVE 
DATATYPE_COMPLEX 

Definition at line 134 of file NodesetLoader.h.

◆ NL_NodeClass

Enumerator
NODECLASS_OBJECT 
NODECLASS_OBJECTTYPE 
NODECLASS_VARIABLE 
NODECLASS_DATATYPE 
NODECLASS_METHOD 
NODECLASS_REFERENCETYPE 
NODECLASS_VARIABLETYPE 
NODECLASS_VIEW 

Definition at line 30 of file NodesetLoader.h.

Function Documentation

◆ NodesetLoader_delete()

void NodesetLoader_delete ( NodesetLoader loader)

◆ NodesetLoader_forEachNode()

size_t NodesetLoader_forEachNode ( NodesetLoader loader,
NL_NodeClass  nodeClass,
void *  context,
NodesetLoader_forEachNode_Func  fn 
)

◆ NodesetLoader_getBidirectionalRefs()

const NL_BiDirectionalReference * NodesetLoader_getBidirectionalRefs ( const NodesetLoader loader)

◆ NodesetLoader_importFile()

bool NodesetLoader_importFile ( NodesetLoader loader,
const NL_FileContext fileContext 
)

◆ NodesetLoader_isInstanceNode()

bool NodesetLoader_isInstanceNode ( const NL_Node baseNode)

◆ NodesetLoader_new()

NodesetLoader * NodesetLoader_new ( NodesetLoader_Logger logger,
struct NL_ReferenceService refService 
)

◆ NodesetLoader_sort()

bool NodesetLoader_sort ( NodesetLoader loader)

Variable Documentation

◆ NL_NODECLASS_NAME

const char* NL_NODECLASS_NAME[8]
extern