HTMLFileListItem Class Reference

Item to add in the list. More...

#include <htmllist.h>

Inheritance diagram for HTMLFileListItem:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 HTMLFileListItem (String_256 Filename, INT32 TagId, BOOL Center)
 HTMLFileListItem constructor. Create a new HTMLFileListItem.
String_256 GetFileName ()
 return the filename
INT32 GetTagId ()
 return the tag ID
BOOL IsCenter ()
 return the tag ID
void MyPrint ()

Private Attributes

BOOL m_IsCenter
String_256 m_Filename
String_256 m_Path
INT32 m_TagId

Detailed Description

Item to add in the list.

Author:
Olivier_Gascoin (Xara Group Ltd) <camelotdev@xara.com>
Date:
14/04/97
See also:
ListItem

Definition at line 123 of file htmllist.h.


Constructor & Destructor Documentation

HTMLFileListItem::HTMLFileListItem String_256  Filename,
INT32  TagId,
BOOL  Center
 

HTMLFileListItem constructor. Create a new HTMLFileListItem.

Author:
Olivier_Gascoin (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/04/97
Parameters:
Filename - name of the file [INPUTS] TagId - which tag ? (img, body...) Center - used for formatting
Returns:

Errors:

Definition at line 133 of file htmllist.cpp.

00134 {
00135     m_Filename = Filename;
00136     m_TagId = TagId;
00137     m_IsCenter = Center;
00138 }


Member Function Documentation

String_256 HTMLFileListItem::GetFileName  ) 
 

return the filename

Author:
Olivier_Gascoin (Xara Group Ltd) <camelotdev@xara.com>
Date:
14/04/97
Parameters:
[INPUTS] 
Returns:

Errors:

Definition at line 154 of file htmllist.cpp.

00155 {
00156     return m_Filename;
00157 }

INT32 HTMLFileListItem::GetTagId  ) 
 

return the tag ID

Author:
Olivier_Gascoin (Xara Group Ltd) <camelotdev@xara.com>
Date:
16/04/97
Parameters:
[INPUTS] 
Returns:

Errors:

Definition at line 173 of file htmllist.cpp.

00174 {
00175     return m_TagId;
00176 }

BOOL HTMLFileListItem::IsCenter  ) 
 

return the tag ID

Author:
Olivier_Gascoin (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/04/97
Parameters:
[INPUTS] 
Returns:

Errors:

Definition at line 192 of file htmllist.cpp.

00193 {
00194     return m_IsCenter;
00195 }

void HTMLFileListItem::MyPrint  ) 
 

Definition at line 199 of file htmllist.cpp.

00200 {
00201     if (IsUserName("Olivier"))
00202     {
00203         TRACE( _T("HTMLFileListItem::FileName = %s\n"), (TCHAR*)m_Filename);
00204         //TRACE( _T("HTMLFileListItem::TagId = %d\n"), m_TagId);
00205     }
00206 }


Member Data Documentation

String_256 HTMLFileListItem::m_Filename [private]
 

Definition at line 136 of file htmllist.h.

BOOL HTMLFileListItem::m_IsCenter [private]
 

Definition at line 135 of file htmllist.h.

String_256 HTMLFileListItem::m_Path [private]
 

Definition at line 137 of file htmllist.h.

INT32 HTMLFileListItem::m_TagId [private]
 

Definition at line 138 of file htmllist.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:55:10 2007 for Camelot by  doxygen 1.4.4