text
stringlengths 0
2.2M
|
|---|
/*
|
Copyright 2009-2020, Sumeet Chhetri
|
Licensed under the Apache License, Version 2.0 (the "License");
|
you may not use this file except in compliance with the License.
|
You may obtain a copy of the License at
|
http://www.apache.org/licenses/LICENSE-2.0
|
Unless required by applicable law or agreed to in writing, software
|
distributed under the License is distributed on an "AS IS" BASIS,
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
See the License for the specific language governing permissions and
|
limitations under the License.
|
*/
|
/*
|
* TeBkUmMgrUm.cpp
|
*
|
* Created on: 03-Feb-2020
|
* Author: sumeetc
|
*/
|
#include "TeBkUmMgr.h"
|
int TeBkUmMgrWorld::getId() const {
|
return id;
|
}
|
void TeBkUmMgrWorld::setId(int id) {
|
this->id = id;
|
}
|
int TeBkUmMgrWorld::getRandomNumber() const {
|
return randomNumber;
|
}
|
void TeBkUmMgrWorld::setRandomNumber(int randomNumber) {
|
this->randomNumber = randomNumber;
|
}
|
TeBkUmMgrWorld::TeBkUmMgrWorld(int id) {
|
this->id = id;
|
randomNumber = 0;
|
}
|
TeBkUmMgrWorld::TeBkUmMgrWorld(int id, int randomNumber) {
|
this->id = id;
|
this->randomNumber = randomNumber;
|
}
|
TeBkUmMgrWorld::TeBkUmMgrWorld() {
|
id = 0;
|
randomNumber = 0;
|
}
|
TeBkUmMgrWorld::~TeBkUmMgrWorld() {
|
}
|
int TeBkUmMgrFortune::getId() const {
|
return id;
|
}
|
void TeBkUmMgrFortune::setId(int id) {
|
this->id = id;
|
}
|
const std::string& TeBkUmMgrFortune::getMessage() const {
|
return message;
|
}
|
void TeBkUmMgrFortune::setMessage(const std::string& message) {
|
this->message = message;
|
}
|
TeBkUmMgrFortune::TeBkUmMgrFortune() {
|
id = 0;
|
}
|
TeBkUmMgrFortune::~TeBkUmMgrFortune() {
|
}
|
bool TeBkUmMgrFortune::operator < (const TeBkUmMgrFortune& other) const {
|
return message.compare(other.message)<0;
|
}
|
TeBkUmMgrMessage::~TeBkUmMgrMessage() {
|
}
|
const std::string& TeBkUmMgrMessage::getMessage() const {
|
return message;
|
}
|
void TeBkUmMgrMessage::setMessage(const std::string& message) {
|
this->message = message;
|
}
|
const std::string TeBkUmMgrRouter::HELLO_WORLD = "Hello, World!";
|
std::string TeBkUmMgrRouter::WORLD = "world";
|
std::string TeBkUmMgrRouter::FORTUNE = "fortune";
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.