예제 #1
0
파일: NConcept.cpp 프로젝트: dardevelin/neu
 void error_(const nstr& key, const nvar& value){
   throw NError("NConcept: invalid attribute for key '" + key +
                "' value: " + value.toStr());
 }
예제 #2
0
파일: Length.cpp 프로젝트: JackieXie168/neu
 void validate(const nvar& v){
   if(!NConcept::isNumeric(v, false)){
     NERROR("invalid value: " + v.toStr());
   }
 }