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>
13using namespace apra;
14
16 m_min(0), m_max(0), m_isReversed(false)
17{
18}
19
20Range::Range(int64_t min, int64_t max, bool isReversed) :
21 m_min(min), m_max(max), m_isReversed(isReversed)
22{
23
24}
25
27{
28}
30{
31 m_min = t.m_min;
32 m_max = t.m_max;
33 return *this;
34}
35
int64_t m_max
Definition Range.h:27
int64_t m_min
Definition Range.h:26
virtual ~Range()
Definition Range.cpp:26
Range operator=(const Range &t)
Definition Range.cpp:29