00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef MODEL_SCOPEKIND_HPP
00026
#define MODEL_SCOPEKIND_HPP
00027
00028
00029
#include <OMF/Enumeration.hpp>
00030
00031
namespace Model
00032 {
00037 class ScopeKind :
public OMF::Enumeration
00038 {
00039
static std::string _type;
00040
static std::vector<std::string> _labels;
00041
00042
public:
00043 enum Type {
00044
instance_level,
00045
classifier_level
00046 };
00047
00048
ScopeKind();
00049
ScopeKind(
const ScopeKind &value);
00050
ScopeKind(
const std::string &value);
00051
ScopeKind(Type value);
00052
00053
const ScopeKind &
operator =(
const ScopeKind &value);
00054
const ScopeKind &
operator =(
const std::string &value);
00055
const ScopeKind &
operator =(Type value);
00056
00057
operator Type() const;
00058
00059 virtual const std::string &typeCode() const;
00060 virtual const std::vector<std::string> &labels() const;
00061 };
00062 }
00063
00064 #endif