Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagecpp
themeEclipse
titletest_doc_getFunctionsByAnnotation.tlpp
linenumberstrue
#include "tlpp-core.th"

function u_testGetFunctionsByAnnotation()
	local aRet := {} as array

	aRet := Reflection.getFunctionsByAnnotation("AnnotationExemplo", "namespaceGetFunctionsByAnnotation.*" )

	if(valType(aRet) == 'A' .and. len(aRet) > 0)
		aEval(aRet,{|x| aEval(x,{|y| conout(y)})})
	else
		conout('Nao foi possivel encontrar a Annotation com os parametros solicitados')
	endif

return

...

aRet[1][2] - TEST_DOC_RESOURCEGETFUNCTIONSBYANNOTATION.TLPP
aRet[1][2] - NAMESPACEGETFUNCTIONSBYANNOTATION.U_RESOURCEGETFUNCTIONSBYANNOTATION1


aRet[2][1] - TEST_DOC_RESOURCEGETFUNCTIONSBYANNOTATION.TLPP
aRet[2][2] - NAMESPACEGETFUNCTIONSBYANNOTATION.U_RESOURCEGETFUNCTIONSBYANNOTATION2


aRet[3][1] - TEST_DOC_RESOURCEGETFUNCTIONSBYANNOTATION.TLPP
aRet[3][2] - NAMESPACEGETFUNCTIONSBYANNOTATION.U_RESOURCEGETFUNCTIONSBYANNOTATION3

...