S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_numeric_range.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
20#ifndef SOPC_NUMERIC_RANGE_H
21#define SOPC_NUMERIC_RANGE_H
22
23#include <stddef.h>
24#include <stdint.h>
25
26#include "sopc_enums.h"
27
28typedef struct _SOPC_Dimension
29{
30 uint32_t start; // Inclusive
31 uint32_t end; // Inclusive
33
39
61
62#endif
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
SOPC_ReturnStatus SOPC_NumericRange_Parse(const char *range, SOPC_NumericRange **result)
Parses a numeric range as described in Part 4 ยง 7.22.
struct _SOPC_NumericRange SOPC_NumericRange
struct _SOPC_Dimension SOPC_Dimension
void SOPC_NumericRange_Delete(SOPC_NumericRange *range)
Definition sopc_numeric_range.h:29
uint32_t start
Definition sopc_numeric_range.h:30
uint32_t end
Definition sopc_numeric_range.h:31
Definition sopc_numeric_range.h:35
SOPC_Dimension * dimensions
Definition sopc_numeric_range.h:37
size_t n_dimensions
Definition sopc_numeric_range.h:36