#include <cmxexdc.h>
Inheritance diagram for CMXReferLineStyle:
Public Member Functions | |
CMXReferLineStyle (CMXExportDC *pDC) | |
void | SetLineStyle (cmxLineStyle *pLineStyle) |
BOOL | AreYouThisStyle (cmxLineStyle *pLineStyle) |
compares the given line style with the one in the object | |
INT32 | IsInWhichDesc (void) |
BOOL | WriteInDesc (CMXExportDC *pDC) |
writes the description record for line style | |
Protected Attributes | |
cmxLineStyle | LineStyle |
Private Member Functions | |
CC_DECLARE_DYNAMIC (CMXReferLineStyle) |
Definition at line 588 of file cmxexdc.h.
|
Definition at line 593 of file cmxexdc.h. 00593 : CMXReferListItem(pDC) {};
|
|
compares the given line style with the one in the object
Definition at line 1423 of file cmxdcobj.cpp. 01424 { 01425 // this assume that the structures are packed nicely, and are initialised properly 01426 // failure is not a major problem, just results in larger files 01427 if(memcmp(&LineStyle, pLineStyle, sizeof(cmxLineStyle)) == 0) 01428 { 01429 // they're the same 01430 return TRUE; 01431 } 01432 01433 // they're not the same 01434 return FALSE; 01435 }
|
|
|
|
Reimplemented from CMXReferListItem. Definition at line 598 of file cmxexdc.h. 00598 {return cmxDESC_LINESTYLE;};
|
|
Definition at line 595 of file cmxexdc.h. 00595 {LineStyle = *pLineStyle;};
|
|
writes the description record for line style
Reimplemented from CMXReferListItem. Definition at line 1401 of file cmxdcobj.cpp. 01402 { 01403 if(!pDC->WriteTag(cmxTAG_DescrSection_LineStyle, &LineStyle, sizeof(LineStyle)) 01404 || !pDC->WriteMinEndTag()) 01405 return FALSE; 01406 01407 return TRUE; 01408 }
|
|
|