Registry Namespace Reference


Functions

void reg (Registration *it)
Expr::Base * create (std::vector< tString > flags, tString fname, arglist args)
Registry & theRegistry ()


Function Documentation

Expr:: Base* Registry::create ( std::vector< tString flags,
tString  fname,
arglist  args 
)

Definition at line 107 of file vRegistry.cpp.

References NULL.

00108 {
00109     for (std::vector<Registration *>::iterator i = registrations.begin(); i != registrations.end(); ++i)
00110         if ((*i)->match(flags, fname, args.size()))
00111             return (*i)->use(args);
00112     return NULL;
00113 }

void Registry::reg ( Registration *  it  ) 

Definition at line 100 of file vRegistry.cpp.

00101 {
00102     registrations.push_back(it);
00103 }

Registry& Registry::theRegistry (  ) 

Definition at line 115 of file vRegistry.cpp.

Referenced by vValue::Registry::Registration::Registration(), and yyparse().

00116 {
00117     static Registry theRegistry;
00118     return theRegistry;
00119 }

Here is the caller graph for this function:


Generated on Sun Mar 16 00:05:12 2008 for Armagetron Advanced by  doxygen 1.5.4