1 #include "NestedValue.h"
8 NestedValue::NestedValue():mNumber(0){
11 NestedValue::NestedValue(long number, const string &message ):mNumber(number), mMessage(message){
14 NestedValue::~NestedValue(){
17 long NestedValue::getNumber() const{
21 const string& NestedValue::getMessage() const{
25 void NestedValue::setNumber(long v){
29 void NestedValue::setMessage(const string & msg){
33 void NestedValue::print(){
34 printf("%d)%s\n", mNumber, mMessage.c_str());