MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Wildcard.h
Go to the documentation of this file.
1 /**********************************************************************
2 ** This program is part of 'MOOSE', the
3 ** Messaging Object Oriented Simulation Environment,
4 ** also known as GENESIS 3 base code.
5 ** copyright (C) 2003-2006 Upinder S. Bhalla. and NCBS
6 ** It is made available under the terms of the
7 ** GNU Lesser General Public License version 2.1
8 ** See the file COPYING.LIB for the full notice.
9 **********************************************************************/
10 
11 #ifndef _WILDCARD_H
12 #define _WILDCARD_H
13 
14 #include <string>
15 #include <vector>
16 using namespace std;
17 
18 class Id;
19 class ObjId;
20 
21 // Just a couple of extern definitions for general use.
22 
53 int simpleWildcardFind( const string& path, vector<ObjId>& ret);
54 
55 
61 int wildcardFind(const string& n, vector<ObjId>& ret);
62 
79 int allChildren( ObjId start, unsigned int index,
80  const string& insideBrace, vector< ObjId >& ret );
81 
82 
95 bool matchBeforeBrace( ObjId id, const string& wild );
96 
97 #endif // _WILDCARD_H
Definition: ObjId.h:20
int allChildren(ObjId start, unsigned int index, const string &insideBrace, vector< ObjId > &ret)
Definition: Wildcard.cpp:495
int simpleWildcardFind(const string &path, vector< ObjId > &ret)
Definition: Wildcard.cpp:137
bool matchBeforeBrace(ObjId id, const string &wild)
Definition: Wildcard.cpp:432
Definition: Id.h:17
static char path[]
Definition: mfield.cpp:403
int wildcardFind(const string &n, vector< ObjId > &ret)
Definition: Wildcard.cpp:169