FOSSology  4.4.0
Open Source License Compliance by Open Source Software
scancode_state.cc
1 /*
2  SPDX-FileCopyrightText: © 2021 Sarita Singh <saritasingh.0425@gmail.com>
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #include "scancode_state.hpp"
8 
13 State::State(int agentId) : agentId(agentId) {}
14 
16 
20 int State::getAgentId() const { return agentId; };
21 
26 string State::getCliOptions() const { return cliOptions; };
27 
29 
33 void State::setCliOptions(string cliOptions){
34  this->cliOptions = cliOptions;
35 }
string getCliOptions() const
getter function for cliOptions
void setCliOptions(string cliOptions)
setter for command line interface options
State(int agentId)
constructor for state class
Definition: state.cc:9
int getAgentId() const
getter function for agent Id
Definition: state.cc:14
string cliOptions
int agentId
Definition: state.hpp:23