Exemplo n.º 1
0
void
Group::GenerateCode(CodeTextCtrl *codectrl, Report *reportctrl) const
{
#if 0
	codectrl->Append(wxT("/*\n===========================================\nMembers:\n"));
	for (List<Member *>::Iterator i = MemberIterator(); !i; i++)
	{
		codectrl->Append(wxT("\t")).Append((*i)->GetName()).Append(wxT("\t")).Append((*i)->ToString()).Append(wxT("\n"));
	}
	codectrl->Append(wxT("Properties:\n"));
	for (List<Property *>::Iterator i = PropertyIterator(); !i; i++)
	{
		codectrl->Append(wxT("\t")).Append((*i)->GetName()).Append(wxT("\t")).Append((*i)->ToString()).Append(wxT("\n"));
	}
	codectrl->Append(wxT("Inputs:\n"));
	for (List<InputPort *>::Iterator i = InputIterator(); !i; i++)
	{
		codectrl->Append(wxT("\t")).Append((*i)->GetMember(wxT("Name"))->GetString()).Append(wxT("\n"));
	}
	codectrl->Append(wxT("Outputs:\n"));
	for (List<OutputPort *>::Iterator i = OutputIterator(); !i; i++)
	{
		codectrl->Append(wxT("\t")).Append((*i)->GetMember(wxT("Name"))->GetString()).Append(wxT("\n"));
	}
	codectrl->Append(wxT("===========================================\n*/\n"));
#endif
}
Exemplo n.º 2
0
Arquivo: str.hpp Projeto: Fadis/Sprout
		inline SPROUT_CONSTEXPR InputIterator
		str_find_check(InputIterator found, T const& value) {
			return !(*found == value) && !*found ? InputIterator()
				: found
				;
		}
 InputIterator operator++ (int) {
     return ++p_, InputIterator (p_ - 1);
 }
Exemplo n.º 4
0
Arquivo: str.hpp Projeto: Fadis/Sprout
		inline SPROUT_CONSTEXPR InputIterator
		str_find_check(InputIterator found) {
			return !*found ? InputIterator()
				: found
				;
		}