functionObjectList: Removed unused sub-class
This commit is contained in:
@ -105,65 +105,6 @@ class functionObjectList
|
||||
);
|
||||
|
||||
|
||||
// Private Classes
|
||||
|
||||
class wordOrDictName;
|
||||
|
||||
friend Istream& operator>>(Istream& is, wordOrDictName& w);
|
||||
|
||||
//- Class to facilitate reading of either a word or the name of a
|
||||
// dictionary
|
||||
class wordOrDictName
|
||||
:
|
||||
public word
|
||||
{
|
||||
public:
|
||||
|
||||
using word::word;
|
||||
|
||||
friend Istream& operator>>(Istream& is, wordOrDictName& w)
|
||||
{
|
||||
is >> static_cast<word&>(w);
|
||||
|
||||
token t(is);
|
||||
|
||||
if (t.isPunctuation() && t.pToken() == token::BEGIN_BLOCK)
|
||||
{
|
||||
is.putBack(t);
|
||||
dictionary d(is);
|
||||
}
|
||||
else
|
||||
{
|
||||
is.putBack(t);
|
||||
}
|
||||
|
||||
return is;
|
||||
}
|
||||
};
|
||||
|
||||
class wordOrDictNameList;
|
||||
|
||||
friend Istream& operator>>(Istream& is, wordOrDictNameList& l);
|
||||
|
||||
//- Class to facilitate reading of either a list of words or the names
|
||||
// of a list of dictionaries
|
||||
class wordOrDictNameList
|
||||
:
|
||||
public wordList
|
||||
{
|
||||
public:
|
||||
|
||||
using wordList::wordList;
|
||||
|
||||
friend Istream& operator>>(Istream& is, wordOrDictNameList& l)
|
||||
{
|
||||
static_cast<wordList&>(l) = wordList(List<wordOrDictName>(is));
|
||||
|
||||
return is;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Static Data Members
|
||||
|
||||
Reference in New Issue
Block a user