org.pdfclown.objects.PdfSimpleObject< TValue > Class Template Reference

Abstract PDF simple object. More...

Inheritance diagram for org.pdfclown.objects.PdfSimpleObject< TValue >:
org.pdfclown.objects.PdfDirectObject org.pdfclown.objects.IPdfSimpleObject< TValue > org.pdfclown.objects.PdfDataObject org.pdfclown.objects.IPdfSimpleObject org.pdfclown.objects.PdfObject org.pdfclown.objects.IVisitable

List of all members.

Public Member Functions

abstract PdfObject Accept (IVisitor visitor, object data)
 Accepts a visit.
object Clone ()
 Creates a shallow copy of this object.
override PdfObject Clone (File context)
 Creates a deep copy of this object within the specified file context.
abstract int CompareTo (PdfDirectObject obj)
override bool Equals (object @object)
override int GetHashCode ()
 PdfSimpleObject ()
PdfDataObject Resolve ()
 Ensures this object to be resolved into its corresponding data object.
override PdfObject Swap (PdfObject other)
 Swaps contents between this object and the other one.
override string ToString ()
PdfDirectObject Unresolve ()
 Ensures this object to be unresolved into its corresponding indirect reference, if available.
abstract void WriteTo (IOutputStream stream, File context)
 Serializes this object to the specified stream.

Static Public Member Functions

static PdfObject Clone (PdfObject @object, File context)
 Gets the clone of the specified object, registered inside the specified file context.
static PdfDirectObject Get (object value)
 Gets the object equivalent to the given value.
static object GetValue (PdfObject obj, object defaultValue)
 Gets the value corresponding to the given object.
static Object GetValue (PdfObject obj)
 Gets the value corresponding to the given object.
static PdfDataObject Resolve (PdfObject @object)
 Ensures an indirect reference to be resolved into its corresponding data object.
static PdfDirectObject Unresolve (PdfDataObject @object)
 Ensures a data object to be unresolved into its corresponding indirect reference, if available.

Protected Member Functions

internal void Update ()
 Updates the state of this object.

Properties

virtual PdfIndirectObject Container [get]
 Gets the indirect object containing this object.
PdfIndirectObject DataContainer [get]
 Gets the indirect object containing the data associated to this object.
virtual File File [get]
 Gets the file containing this object.
virtual PdfIndirectObject IndirectObject [get]
 Gets the indirect object corresponding to this object.
sealed override PdfObject Parent [get, set]
 Gets/Sets the parent of this object.
virtual TValue RawValue [get, set]
 Gets/Sets the low-level representation of the value.
virtual PdfReference Reference [get]
 Gets the indirect reference of this object.
override bool Updateable [get, set]
 Gets/Sets whether the detection of object state changes is enabled.
sealed override bool Updated [get, set]
 Gets/Sets whether the initial state of this object has been modified.
virtual object Value [get, set]
 Gets/Sets the high-level representation of the value.
internal override bool Virtual [get, set]
 Gets/Sets whether this object acts like a null-object placeholder.

template<TValue>
class org::pdfclown::objects::PdfSimpleObject< TValue >

Abstract PDF simple object.


Constructor & Destructor Documentation

template<TValue >
org.pdfclown.objects.PdfSimpleObject< TValue >.PdfSimpleObject (  ) 

Member Function Documentation

abstract PdfObject org.pdfclown.objects.PdfObject.Accept ( IVisitor  visitor,
object  data 
) [pure virtual, inherited]
object org.pdfclown.objects.PdfObject.Clone (  )  [inherited]

Creates a shallow copy of this object.

References org.pdfclown.objects.PdfObject.Parent.

static PdfObject org.pdfclown.objects.PdfObject.Clone ( PdfObject object,
File  context 
) [static, inherited]

Gets the clone of the specified object, registered inside the specified file context.

Parameters:
object Object to clone into the specified file context.
context File context of the cloning.

Referenced by org.pdfclown.objects.PdfObjectWrapper< PdfTextString >.Clone(), and org.pdfclown.objects.Cloner.Visit().

template<TValue >
override PdfObject org.pdfclown.objects.PdfSimpleObject< TValue >.Clone ( File  context  )  [virtual]

Creates a deep copy of this object within the specified file context.

Reimplemented from org.pdfclown.objects.PdfObject.

abstract int org.pdfclown.objects.PdfDirectObject.CompareTo ( PdfDirectObject  obj  )  [pure virtual, inherited]
template<TValue >
override bool org.pdfclown.objects.PdfSimpleObject< TValue >.Equals ( object @  object  ) 
template<TValue >
static PdfDirectObject org.pdfclown.objects.PdfSimpleObject< TValue >.Get ( object  value  )  [static]

Gets the object equivalent to the given value.

template<TValue >
override int org.pdfclown.objects.PdfSimpleObject< TValue >.GetHashCode (  ) 
template<TValue >
static object org.pdfclown.objects.PdfSimpleObject< TValue >.GetValue ( PdfObject  obj,
object  defaultValue 
) [static]

Gets the value corresponding to the given object.

Parameters:
obj Object to extract the value from.
defaultValue Value returned in case the object's one is undefined.
template<TValue >
static Object org.pdfclown.objects.PdfSimpleObject< TValue >.GetValue ( PdfObject  obj  )  [static]

Gets the value corresponding to the given object.

Parameters:
obj Object to extract the value from.

References org.pdfclown.objects.PdfSimpleObject< TValue >.GetValue().

Referenced by org.pdfclown.objects.PdfSimpleObject< TValue >.GetValue().

PdfDataObject org.pdfclown.objects.PdfObject.Resolve (  )  [inherited]

Ensures this object to be resolved into its corresponding data object.

See also:
Unresolve()

References org.pdfclown.objects.PdfReference.DataObject.

static PdfDataObject org.pdfclown.objects.PdfObject.Resolve ( PdfObject object  )  [static, inherited]
template<TValue >
override PdfObject org.pdfclown.objects.PdfSimpleObject< TValue >.Swap ( PdfObject  other  )  [virtual]

Swaps contents between this object and the other one.

Parameters:
other Object whose contents have to be swapped with this one's.
Returns:
This object.

Implements org.pdfclown.objects.PdfObject.

template<TValue >
override string org.pdfclown.objects.PdfSimpleObject< TValue >.ToString (  ) 
PdfDirectObject org.pdfclown.objects.PdfObject.Unresolve (  )  [inherited]

Ensures this object to be unresolved into its corresponding indirect reference, if available.

Returns:
PdfReference, if available;
this
, otherwise.
See also:
Resolve()
static PdfDirectObject org.pdfclown.objects.PdfObject.Unresolve ( PdfDataObject object  )  [static, inherited]

Ensures a data object to be unresolved into its corresponding indirect reference, if available.

Parameters:
object Object to unresolve.
Returns:
PdfReference, if available;
object
, otherwise.
internal void org.pdfclown.objects.PdfObject.Update (  )  [protected, inherited]
abstract void org.pdfclown.objects.PdfObject.WriteTo ( IOutputStream  stream,
File  context 
) [pure virtual, inherited]

Property Documentation

virtual PdfIndirectObject org.pdfclown.objects.PdfObject.Container [get, inherited]

Gets the indirect object containing this object.

See also:
DataContainer, IndirectObject

Reimplemented in org.pdfclown.objects.PdfIndirectObject.

Referenced by org.pdfclown.tokens.CompressedWriter.WriteIncremental().

PdfIndirectObject org.pdfclown.objects.PdfObject.DataContainer [get, inherited]

Gets the indirect object containing the data associated to this object.

See also:
Container, IndirectObject
virtual File org.pdfclown.objects.PdfObject.File [get, inherited]

Gets the file containing this object.

Reimplemented in org.pdfclown.objects.PdfIndirectObject.

Referenced by org.pdfclown.objects.Cloner.Visit().

virtual PdfIndirectObject org.pdfclown.objects.PdfObject.IndirectObject [get, inherited]

Gets the indirect object corresponding to this object.

See also:
Container, DataContainer

Reimplemented in org.pdfclown.objects.PdfIndirectObject, and org.pdfclown.objects.PdfReference.

template<TValue >
sealed override PdfObject org.pdfclown.objects.PdfSimpleObject< TValue >.Parent [get, set]

Gets/Sets the parent of this object.

See also:
Container

Reimplemented from org.pdfclown.objects.PdfObject.

template<TValue >
virtual TValue org.pdfclown.objects.PdfSimpleObject< TValue >.RawValue [get, set]

Gets/Sets the low-level representation of the value.

Implements org.pdfclown.objects.IPdfSimpleObject< TValue >.

virtual PdfReference org.pdfclown.objects.PdfObject.Reference [get, inherited]
template<TValue >
override bool org.pdfclown.objects.PdfSimpleObject< TValue >.Updateable [get, set]

Gets/Sets whether the detection of object state changes is enabled.

Reimplemented from org.pdfclown.objects.PdfObject.

template<TValue >
sealed override bool org.pdfclown.objects.PdfSimpleObject< TValue >.Updated [get, set]

Gets/Sets whether the initial state of this object has been modified.

Reimplemented from org.pdfclown.objects.PdfObject.

template<TValue >
virtual object org.pdfclown.objects.PdfSimpleObject< TValue >.Value [get, set]

Gets/Sets the high-level representation of the value.

Implements org.pdfclown.objects.IPdfSimpleObject.

template<TValue >
internal override bool org.pdfclown.objects.PdfSimpleObject< TValue >.Virtual [get, set, protected]

Gets/Sets whether this object acts like a null-object placeholder.

Reimplemented from org.pdfclown.objects.PdfObject.

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.

Generated on Sat Feb 9 21:08:40 2013 for PDF Clown 0.1.2 by  doxygen 1.6.3