xpcom_chimera/comproxy/PinoPacket.cpp
void 
PinoPacket::displayComments()
{
	list<PinoComment>	cmtList;
	list<PinoComment>::iterator it;
	
	cmtList = getCommentList();		

    for (it = cmtList.begin(); it != cmtList.end(); it++)
    {
         cout << "URL:" <<  it->getURL() << endl;
         cout << "Author:" <<  it->getAuthor() << endl;
         cout << "Time:" <<  it->getTime() << endl;
         cout << "Comment:" <<  it->getContent() << endl;
		 cout << " ------------------------------------- " << endl;
    } 
}
/*
 * Parse m_stream and display all comments
 */
Parse m_stream and display all comments
Parse m_stream and display all comments
void 
PinoPacket::displayComments()
{
	list<PinoComment>	cmtList;
	list<PinoComment>::iterator it;
	cmtList = getCommentList();		
    for (it = cmtList.begin(); it != cmtList.end(); it++)
    {
         cout << "URL:" <<  it->getURL() << endl;
         cout << "Author:" <<  it->getAuthor() << endl;
         cout << "Time:" <<  it->getTime() << endl;
         cout << "Comment:" <<  it->getContent() << endl;
		 cout << " ------------------------------------- " << endl;
    } 
}
void PinoPacket :: displayComments ( ) { list < PinoComment > cmtList ; list < PinoComment > :: iterator it ; cmtList = getCommentList ( ) ; for ( it = cmtList . begin ( ) ; it != cmtList . end ( ) ; it ++ ) { cout << " " << it -> getURL ( ) << endl ; cout << " " << it -> getAuthor ( ) << endl ; cout << " " << it -> getTime ( ) << endl ; cout << " " << it -> getContent ( ) << endl ; cout << " " << endl ; } }
Parse m_stream and display all comments
Parse m_stream and display all comments