ObsAct.cpp
Go to the documentation of this file.
00001 // written by png shao wei
00002 
00003 #include "ObsAct.h"
00004 #include <iostream>
00005 #include <string>
00006 using namespace std;
00007 
00008 void ObsAct::setVName(string str) {
00009     vname = str;
00010 }
00011 
00012 string ObsAct::getVName() const{
00013     return vname;
00014 }
00015 
00016 std::ostream& ObsAct::write(std::ostream& out) 
00017 {
00018     out << "vname :" << vname << endl;
00019     out << "ValueEnum: " << endl;
00020 
00021     for (unsigned int i = 0; i < valueEnum.size(); i++) {
00022         out << valueEnum[i] << ".";
00023     }
00024     return out;
00025 }
00026 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29