text.cc (3918:1f9a98d198e8) text.cc (4078:3f73f808bbd4)
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 711 unchanged lines hidden (view full) ---

720}
721
722void
723Text::visit(const FormulaData &data)
724{
725 visit((const VectorData &)data);
726}
727
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 711 unchanged lines hidden (view full) ---

720}
721
722void
723Text::visit(const FormulaData &data)
724{
725 visit((const VectorData &)data);
726}
727
728bool
729initText(const string &filename, bool desc, bool compat)
730{
731 static Text text;
732 static bool connected = false;
733
734 if (connected)
735 return false;
736
737 extern list<Output *> OutputList;
738
739 text.open(*simout.find(filename));
740 text.descriptions = desc;
741 text.compat = compat;
742 OutputList.push_back(&text);
743 connected = true;
744
745 return true;
746}
747
748
728/* namespace Stats */ }
749/* namespace Stats */ }