Index: TECH/Iterator.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/Iterator.cls.xml (.../Iterator.cls.xml) (revision 28) +++ TECH/Iterator.cls.xml (.../Iterator.cls.xml) (revision 54) @@ -1,29 +1,17 @@ - Generic iterator interface. Since we're not typed this interface is most useful as a template to quickly and consistently implement -the right methods. - -De HasNext method moet zo licht mogelijk geimplementeerd worden. -Daarvoor moet de iterator steeds op het volgende element staan. - -
Eg: -
Set Iterator=##class(classname).%New() -
While Iterator.HasNext() -
{ -
Set object=Iterator.Next() -
} -]]>
+the right methods. 1 1 0 Returns true if the iteration has more elements. -1 %Boolean @@ -32,7 +20,6 @@ Returns the next element in the iteration. Only returns a valid element if HasNext() returns true Causes an error if HasNext() returns false -1 %CacheString
Index: TECH/Files.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/Files.cls.xml (.../Files.cls.xml) (revision 28) +++ TECH/Files.cls.xml (.../Files.cls.xml) (revision 54) @@ -143,5 +143,18 @@ quit $$$OK ]]> + + +1 +FromPath:%String,ToPath:%String + +
Index: TECH/StringUtils.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/StringUtils.cls.xml (.../StringUtils.cls.xml) (revision 28) +++ TECH/StringUtils.cls.xml (.../StringUtils.cls.xml) (revision 54) @@ -62,5 +62,73 @@ + + + +Nagaan of Input match aan het opgegeven pattern. +Volgende mogelijkheden +* : 0 of meer characters +? : exact 1 character + +Voorbeelden +w ##class(TECH.StringUtils).MatchesWildCard("abcmqsldkfmlsqkfjdef","abc*def") +w ##class(TECH.StringUtils).MatchesWildCard("adm","a?m") +w ##class(TECH.StringUtils).MatchesPattern("a1mqsfd","a?m*") + +1 +Input:%String,Pattern:%String,CaseSensitive:%Boolean=0 +0 + + + + +1 +WildCard:%String,StartWith:%String +1 + + Index: TECH/ClassInfo/ClassDefinition.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/ClassInfo/ClassDefinition.cls.xml (.../ClassDefinition.cls.xml) (revision 28) +++ TECH/ClassInfo/ClassDefinition.cls.xml (.../ClassDefinition.cls.xml) (revision 54) @@ -100,6 +100,22 @@ ]]> + +MethodName:%String +TECH.ClassInfo.MethodDefinition + + + TECH.Iterator + +1 + +%Boolean + + + 1 InternalName:%String Index: TECH/CSP/CSPApplicatie.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/CSP/CSPApplicatie.cls.xml (.../CSPApplicatie.cls.xml) (revision 28) +++ TECH/CSP/CSPApplicatie.cls.xml (.../CSPApplicatie.cls.xml) (revision 54) @@ -159,9 +159,37 @@ 1 cspFile:%String %String - + - quit $system.CSP.GetFileName(cspFile) + + +Geeft de volledige url terug : http://server/csp-dir/csp-naam?querystringparams +vertrekkende van de gegeven CspClassName. +De QueryStringParameterList is een list bvb. item1 : "key=value" , item2 : "key2=value2" , ... +1 +CspClassName:%String,QueryStringParameterList:%ListOfDataTypes="" +%String + Index: Tools/CompileEnumerator.cls.xml =================================================================== diff -u -r28 -r54 --- Tools/CompileEnumerator.cls.xml (.../CompileEnumerator.cls.xml) (revision 28) +++ Tools/CompileEnumerator.cls.xml (.../CompileEnumerator.cls.xml) (revision 54) @@ -63,8 +63,15 @@ If $IsObject(ClassDefinition) { If (..BevatProperty(ClassDefinition, EnumeratorKlasse)) { - Set mdToCompile(ClassName_".cls")="" - w "Gebruikt als property in klasse: "_ClassName,! + set IsGenerated = ##class(TECH.SourceCodeUtils).IsGeneratedCode(ClassName_".cls",.GeneratedBy) + if IsGenerated { + w "Gebruikt als property in klasse "_ClassName_" ( gegenereerd door "_GeneratedBy_" )",! + Set mdToCompile(GeneratedBy_".cls")="" + } + else { + w "Gebruikt als property in klasse: "_ClassName,! + Set mdToCompile(ClassName_".cls")="" + } } If (ClassDefinition.IsWebservice()) @@ -123,10 +130,9 @@ } } } - } - } - - Quit + } +} +Quit ]]> Index: TECH/File.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/File.cls.xml (.../File.cls.xml) (revision 28) +++ TECH/File.cls.xml (.../File.cls.xml) (revision 54) @@ -5,6 +5,13 @@ %Library.File 0 + +1 +BestandLocatie:%String + + + 1 directory:%String