Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
//%% (c) Copyright 1993, 1994 Hewlett-Packard Company
//%% (c) Copyright 1993, 1994 International Business Machines Corp.
//%% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
//%% (c) Copyright 1993, 1994 Novell, Inc.
//%% $XConsortium: tttar_string_map.C /main/3 1995/10/20 17:01:27 rswiston $
/*
* tttar_string_map.cc - Implements mappings of old specs to new specs.
*
* Copyright (c) 1990 by Sun Microsystems, Inc.
*
*/
#include "tttar_string_map.h"
#include "util/tt_iostream.h"
implement_list_of(Lstar_string_map)
implement_table_of(Lstar_string_map)
_Tt_string
Lstar_string_map_old_string(_Tt_object_ptr &o)
{
return(((Lstar_string_map *)o.c_pointer())->old_string());
}
/*
* Lstar_string_map::Lstar_string_map
*/
Lstar_string_map::
Lstar_string_map()
{
}
/*
* Lstar_string_map::~Lstar_string_map()
*/
Lstar_string_map::
~Lstar_string_map()
{
}
/*
* Lstar_string_map::print()
*/
void Lstar_string_map::
print( FILE *fs ) const
{
this->_old_string->print(fs);
fprintf( fs, " (" );
this->_extra->print(fs);
fprintf( fs, " ) -> " );
this->_new_string->print(fs);
}