00001 /* 00002 * Copyright (c) 2003, Raymond Bosman 00003 * Copyright (c) 2003, Frederik Holljen 00004 * All Rights Reserved. 00005 * 00006 * See COPYING for licensing. 00007 */ 00008 00009 00010 #include "attribute_info.hpp" 00011 00012 namespace ClassEncoder 00013 { 00014 using namespace std; 00015 00017 00020 attribute_info::attribute_info() 00021 { 00022 } 00023 00025 00028 attribute_info::~attribute_info() 00029 { 00030 } 00031 00033 00037 void attribute_info::write( ofstream &stream ) 00038 { 00039 writeu2( stream, attribute_name_index ); 00040 writeu4( stream, size() ); 00041 } 00042 00043 } // end namespace