ApraLinuxUtils
1.0.0
C++ utility library for embedded Linux systems
Loading...
Searching...
No Matches
Range.cpp
Go to the documentation of this file.
1
/*
2
* Range.cpp
3
*
4
* Copyright (c) 2024 Apra Labs
5
*
6
* This file is part of ApraUtils.
7
*
8
* Licensed under the MIT License.
9
* See LICENSE file in the project root for full license information.
10
*/
11
12
#include <
models/Range.h
>
13
using namespace
apra
;
14
15
Range::Range
() :
16
m_min(0), m_max(0), m_isReversed(false)
17
{
18
}
19
20
Range::Range
(int64_t min, int64_t max,
bool
isReversed) :
21
m_min(min), m_max(max), m_isReversed(isReversed)
22
{
23
24
}
25
26
Range::~Range
()
27
{
28
}
29
Range
Range::operator=
(
const
Range
&t)
30
{
31
m_min
= t.
m_min
;
32
m_max
= t.
m_max
;
33
return
*
this
;
34
}
35
Range.h
apra::Range
Definition
Range.h:20
apra::Range::m_max
int64_t m_max
Definition
Range.h:27
apra::Range::m_min
int64_t m_min
Definition
Range.h:26
apra::Range::~Range
virtual ~Range()
Definition
Range.cpp:26
apra::Range::operator=
Range operator=(const Range &t)
Definition
Range.cpp:29
apra::Range::Range
Range()
Definition
Range.cpp:15
apra
Definition
EventCallbacks.h:16
src
models
Range.cpp
Generated by
1.9.8