S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
util_variant.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
25#ifndef UTIL_VARIANT_H_
26#define UTIL_VARIANT_H_
27
28#include "sopc_types.h"
29
34
39
41
43
48 char** preferredLocales);
49
50// Same function as previous one but source variant is not modified and destination already allocated
52 const SOPC_Variant* src,
53 char** preferredLocales);
54
59
64
69
74
79
84
89
94
99
104
116 const SOPC_Variant* source,
117 char** preferredLocalesIds,
118 const SOPC_NumericRange* indexRange);
119
120#endif /* UTIL_VARIANT_H_ */
enum _OpcUa_NodeClass OpcUa_NodeClass
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
An ExtensionObject is a container for any Structured DataTypes which cannot be encoded as one of the ...
Definition sopc_builtintypes.h:262
Definition sopc_builtintypes.h:234
This structure describes a basic NodeID in OPC UA.
Definition sopc_builtintypes.h:189
Definition sopc_builtintypes.h:228
This structure provides string encapsulation.
Definition sopc_builtintypes.h:148
This structure provides variant encapsulation.
Definition sopc_builtintypes.h:374
Definition sopc_numeric_range.h:35
SOPC_Variant * util_variant__new_Variant_from_uint32(uint32_t i)
SOPC_Variant * util_variant__new_Variant_from_Variant(const SOPC_Variant *pvara, bool deepCopy)
SOPC_Variant * util_variant__new_Variant_from_double(double f)
SOPC_Variant * util_variant__new_Variant_from_int64(int64_t i)
SOPC_Variant * util_variant__new_Variant_from_Bool(bool b)
SOPC_Variant * util_variant__new_Variant_from_QualifiedName(SOPC_QualifiedName *qn, bool deepCopy)
SOPC_ReturnStatus util_variant__copy_and_apply_locales_and_index_range(SOPC_Variant *destVal, const SOPC_Variant *source, char **preferredLocalesIds, const SOPC_NumericRange *indexRange)
bool util_variant__copy_PreferredLocalizedText_from_LocalizedText_Variant(SOPC_Variant *dest, const SOPC_Variant *src, char **preferredLocales)
SOPC_Variant * util_variant__new_Variant_from_NodeClass(OpcUa_NodeClass ncl)
SOPC_Variant * util_variant__new_Variant_from_ExtensionObject(SOPC_ExtensionObject *extObj, bool deepCopy)
SOPC_Variant * util_variant__new_Variant_from_LocalizedText(SOPC_LocalizedText *lt, bool deepCopy)
SOPC_Variant * util_variant__new_Variant_from_Indet(void)
SOPC_Variant * util_variant__set_PreferredLocalizedText_from_LocalizedText_Variant(SOPC_Variant **v, char **preferredLocales)
SOPC_Variant * util_variant__new_Variant_from_int32(int32_t i)
SOPC_Variant * util_variant__new_Variant_from_Byte(uint8_t i)
SOPC_Variant * util_variant__new_Variant_from_NodeId(SOPC_NodeId *pnid, bool deepCopy)
SOPC_Variant * util_variant__new_Variant_from_ByteString(SOPC_ByteString *bs, bool deepCopy)