diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H index c94aa194cf..2386da1b66 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H @@ -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(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(l) = wordList(List(is)); - - return is; - } - }; - - public: // Static Data Members