|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <DiscMeta.h>

Public Types | |
| typedef std::pair< int, std::string * > | element_t |
| typedef vmap< int, element_t > | container_t |
| typedef container_t::iterator | iterator |
| typedef container_t::const_iterator | const_iterator |
| typedef container_t::value_type | value_type |
Public Member Functions | |
| DiscMeta (const char *fname) | |
| ~DiscMeta () | |
| const std::string & | getFilename () const |
| unsigned int | size () const |
| int | getLineNumber (unsigned int) const |
| const std::string & | getKeyword (unsigned int) |
| int | getNumWords (unsigned int) const |
| std::string * | getWords (unsigned int) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | printDebug (Inform &) |
Private Member Functions | |
| bool | read_meta_line (FILE *, std::string *&, int &) |
Private Attributes | |
| std::string | MetaFile |
| container_t | Lines |
Definition at line 35 of file DiscMeta.h.
Definition at line 42 of file DiscMeta.h.
| typedef vmap<int, element_t> DiscMeta::container_t |
Definition at line 40 of file DiscMeta.h.
| typedef std::pair<int, std::string *> DiscMeta::element_t |
Definition at line 39 of file DiscMeta.h.
Definition at line 41 of file DiscMeta.h.
Definition at line 43 of file DiscMeta.h.
| DiscMeta::DiscMeta | ( | const char * | fname | ) |
Definition at line 36 of file DiscMeta.cpp.
References IpplInfo::abort(), endl(), ERRORMSG, vmap< Key, T, Compare >::insert(), Lines, MetaFile, IpplInfo::myNode(), and read_meta_line().

| DiscMeta::~DiscMeta | ( | ) |
Definition at line 75 of file DiscMeta.cpp.
References begin(), and end().

|
inline |
Definition at line 76 of file DiscMeta.h.
References vmap< Key, T, Compare >::begin(), and Lines.
Referenced by getLineNumber(), getNumWords(), getWords(), FieldLayout< Dim >::read(), DiscParticle::read_meta(), and ~DiscMeta().

|
inline |
Definition at line 78 of file DiscMeta.h.
References vmap< Key, T, Compare >::begin(), and Lines.

|
inline |
Definition at line 77 of file DiscMeta.h.
References vmap< Key, T, Compare >::end(), and Lines.
Referenced by getLineNumber(), getNumWords(), getWords(), FieldLayout< Dim >::read(), and ~DiscMeta().

|
inline |
Definition at line 79 of file DiscMeta.h.
References vmap< Key, T, Compare >::end(), and Lines.

|
inline |
Definition at line 58 of file DiscMeta.h.
References MetaFile.
| const std::string & DiscMeta::getKeyword | ( | unsigned int | n | ) |
Definition at line 105 of file DiscMeta.cpp.
References getWords().
Referenced by printDebug().

| int DiscMeta::getLineNumber | ( | unsigned int | n | ) | const |
Definition at line 86 of file DiscMeta.cpp.
References begin(), end(), PAssert, PAssert_LT, and size().

| int DiscMeta::getNumWords | ( | unsigned int | n | ) | const |
Definition at line 115 of file DiscMeta.cpp.
References begin(), end(), PAssert, PAssert_LT, and size().
Referenced by printDebug().

| std::string * DiscMeta::getWords | ( | unsigned int | n | ) |
Definition at line 134 of file DiscMeta.cpp.
References begin(), end(), and PAssert.
Referenced by getKeyword(), and printDebug().

| void DiscMeta::printDebug | ( | Inform & | msg | ) |
Definition at line 185 of file DiscMeta.cpp.
References endl(), getKeyword(), getNumWords(), getWords(), MetaFile, and size().

|
private |
Definition at line 153 of file DiscMeta.cpp.
References DiscConfig::dc_tokenize_string().
Referenced by DiscMeta().

|
inline |
Definition at line 61 of file DiscMeta.h.
References Lines, and vmap< Key, T, Compare >::size().
Referenced by getLineNumber(), getNumWords(), and printDebug().

|
private |
Definition at line 89 of file DiscMeta.h.
Referenced by begin(), DiscMeta(), end(), and size().
|
private |
Definition at line 86 of file DiscMeta.h.
Referenced by DiscMeta(), getFilename(), and printDebug().
1.8.5