+2002-09-05 Ben Elliston <bje@redhat.com>
+
+ * gloss.h: Specify std:: namespace where necessary.
+ * gloss.cxx: Likewise.
+
2002-06-03 Jeff Johnston <jjohnstn@redhat.com>
* gloss.cxx (gloss32::gloss32): Add "state-snapshot" attribute.
// streaming/destreaming of gloss32
void
-gloss32::stream_state (ostream& o) const
+gloss32::stream_state (std::ostream& o) const
{
o << " gloss32";
/* FIXME: the fds eventually should be saved and restored in some manner. */
}
void
-gloss32::destream_state (istream& i)
+gloss32::destream_state (std::istream& i)
{
string key;
int new_max_fds;
return true;
}
-ostream&
-operator << (ostream& out, const gloss32& it)
+std::ostream&
+operator << (std::ostream& out, const gloss32& it)
{
it.stream_state(out);
return out;
}
-istream&
-operator >> (istream& in, gloss32& it)
+std::istream&
+operator >> (std::istream& in, gloss32& it)
{
it.destream_state(in);
return in;
{
return parse_attribute(state, *this);
}
- void stream_state (ostream& o) const;
- void destream_state (istream& i);
- friend ostream& operator << (ostream& o, const gloss32& it);
- friend istream& operator >> (istream& i, gloss32& it);
+ void stream_state (std::ostream& o) const;
+ void destream_state (std::istream& i);
+ friend std::ostream& operator << (std::ostream& o, const gloss32& it);
+ friend std::istream& operator >> (std::istream& i, gloss32& it);
// Trap invocation and response.
callback_pin<gloss32> trap_type_ipin;