1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2020-2021] [HCL Technologies Ltd.] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /* This file contains parameters list of a cell for CLA use case*/
21 #ifndef __NR_CELL_INFO_HPP__
22 #define __NR_CELL_INFO_HPP__
27 #include "sysrepo-cpp/Session.hpp"
28 #include "CmInterface.h"
29 #include "GlobalDefs.hpp"
30 #include "Singleton.hpp"
31 #include "NrCellInfo.hpp"
36 inline void setCellId(uint16_t id) { mCellId = id;}
37 inline void setOpState(OpState state) { mOpState = state;}
38 inline void setCellState( CellState state) { mCellState = state;}
39 inline uint16_t getCellId() const {return mCellId;}
40 inline OpState getOpState() const { return mOpState;}
41 inline CellState getCellState() const { return mCellState;}
43 string enumToOperationalStateString(OpState val);
44 string enumToCellStateString(CellState val);
45 AdminState adminStateToEnum(string val);
55 /**********************************************************************
57 **********************************************************************/