#include <isetattr.h>
Inheritance diagram for PrintOnAllPlatesAttrValue:
Public Member Functions | |
PrintOnAllPlatesAttrValue () | |
Default Constuctor for PrintOnAllPlatesAttrValue The "Print On All Plates" state is set to FALSE. | |
PrintOnAllPlatesAttrValue (BOOL PrintOnAllPlatesIsOn) | |
PrintOnAllPlatesAttrValue constructor. | |
virtual void | Render (RenderRegion *pRegion, BOOL Temp=FALSE) |
Sets the PrintOnAllPlatesAttrValue attribute for the given render region. | |
virtual void | Restore (RenderRegion *pRegion, BOOL Temp) |
Restores the PrintOnAllPlatesAttrValue attribute for the given render region. | |
virtual void | SimpleCopy (AttributeValue *pValue) |
See AttributeValue::SimpleCopy. | |
virtual NodeAttribute * | MakeNode () |
Make a new attribute node for this type of attr value - see base class. | |
virtual BOOL | IsDifferent (AttributeValue *pAttr) |
Determines if this AttrValue is different from the given one. | |
virtual PrintOnAllPlatesAttrValue & | operator= (PrintOnAllPlatesAttrValue &Attrib) |
Assignment operator. | |
virtual INT32 | operator== (const ImagesettingAttrValue &Attrib) |
Comparison operator. | |
BOOL | IsPrintOnAllPlatesOn (void) const |
void | SetPrintOnAllPlates (BOOL NewValue) |
Static Public Member Functions | |
static BOOL | Init (void) |
Registers a default attribute of this type with the attribute manager. | |
Protected Attributes | |
BOOL | PrintOnAllPlates |
Definition at line 381 of file isetattr.h.
|
Default Constuctor for PrintOnAllPlatesAttrValue The "Print On All Plates" state is set to FALSE.
Definition at line 1289 of file isetattr.cpp. 01290 { 01291 PrintOnAllPlates = FALSE; 01292 }
|
|
PrintOnAllPlatesAttrValue constructor.
Definition at line 1309 of file isetattr.cpp. 01310 { 01311 PrintOnAllPlates = PrintOnAllPlatesIsOn; 01312 }
|
|
Registers a default attribute of this type with the attribute manager.
Reimplemented from SimpleCCObject. Definition at line 1329 of file isetattr.cpp. 01330 { 01331 PrintOnAllPlatesAttrValue *pAttr = new PrintOnAllPlatesAttrValue; 01332 if (pAttr == NULL) 01333 return FALSE; 01334 01335 UINT32 ID = AttributeManager::RegisterDefaultAttribute(CC_RUNTIME_CLASS(PrintOnAllPlatesAttrValue), 01336 pAttr); 01337 01338 ERROR2IF(ID == ATTR_BAD_ID, FALSE, "Bad ID when Initialising PrintOnAllPlatesAttrValue"); 01339 01340 return(TRUE); 01341 }
|
|
Determines if this AttrValue is different from the given one.
Reimplemented from AttributeValue. Definition at line 1465 of file isetattr.cpp. 01466 { 01467 ERROR3IF(!pAttr->IsKindOf(CC_RUNTIME_CLASS(PrintOnAllPlatesAttrValue)), 01468 "Different attribute types in PrintOnAllPlatesAttrValue::IsDifferent()"); 01469 01470 // Check they are NOT the same using the == operator 01471 return ( !(*((PrintOnAllPlatesAttrValue *)pAttr) == *this) ); 01472 }
|
|
Definition at line 406 of file isetattr.h. 00406 { return(PrintOnAllPlates); };
|
|
Make a new attribute node for this type of attr value - see base class.
Reimplemented from AttributeValue. Definition at line 1435 of file isetattr.cpp. 01436 { 01437 // Create new attribute node 01438 AttrPrintOnAllPlates *pAttr = new AttrPrintOnAllPlates(); 01439 if (pAttr == NULL) 01440 return NULL; 01441 01442 // Copy attribute value into the new node. 01443 pAttr->Value.SimpleCopy(this); 01444 01445 return(pAttr); 01446 }
|
|
Assignment operator.
Definition at line 1489 of file isetattr.cpp. 01490 { 01491 PrintOnAllPlates = Attrib.PrintOnAllPlates; 01492 01493 return(*this); 01494 }
|
|
Comparison operator.
Implements ImagesettingAttrValue. Definition at line 1513 of file isetattr.cpp. 01514 { 01515 ERROR3IF(!Attrib.IsKindOf(CC_RUNTIME_CLASS(PrintOnAllPlatesAttrValue)), 01516 "Other attribute value isn't an PrintOnAllPlatesAttrValue"); 01517 01518 PrintOnAllPlatesAttrValue *Other = (PrintOnAllPlatesAttrValue *) &Attrib; 01519 return(Other->PrintOnAllPlates == PrintOnAllPlates); 01520 }
|
|
Sets the PrintOnAllPlatesAttrValue attribute for the given render region.
Implements AttributeValue. Definition at line 1362 of file isetattr.cpp. 01363 { 01364 // Stack the current overprint attribute and set ourselves up as the new one 01365 pRegion->SetPrintOnAllPlates(this, Temp); 01366 }
|
|
Restores the PrintOnAllPlatesAttrValue attribute for the given render region.
Implements ImagesettingAttrValue. Definition at line 1389 of file isetattr.cpp. 01390 { 01391 pRegion->RestorePrintOnAllPlates(this, Temp); 01392 }
|
|
Definition at line 407 of file isetattr.h. 00407 { PrintOnAllPlates = NewValue; };
|
|
See AttributeValue::SimpleCopy.
Implements AttributeValue. Definition at line 1409 of file isetattr.cpp. 01410 { 01411 ERROR3IF(!IS_A(pValue, PrintOnAllPlatesAttrValue), 01412 "Invalid Attribute value passed to PrintOnAllPlatesAttrValue::SimpleCopy"); 01413 01414 // Just uses the assignment operator 01415 *this = *((PrintOnAllPlatesAttrValue *) pValue); 01416 }
|
|
Definition at line 407 of file isetattr.h. |