WeRefrenceObject Class Reference

Linked object. More...

#include <weHtmlEntity.h>

Inheritance diagram for WeRefrenceObject:

WeHtmlDocument iweDocument WeHtmlEntity iweEntity iweEntity WeScript

List of all members.

Public Member Functions

 WeRefrenceObject (iweEntity *prnt=NULL)
 Default constructor.
 WeRefrenceObject (WeRefrenceObject &entity)
 Copy constructor.
 ~WeRefrenceObject ()
 Destructor.
bool const IsLocal (void) const
 Is the object's data local.
string LocalLink (void) const
 Access the LocalLink property.
void LocalLink (string local)
 Access the LocalLink property.


Detailed Description

Linked object.

This is the base class for all entities, which have a linked data, i.e images, frames, scripts etc. Linked data may be stored in blob if downloaded.

Author:
A. Abramov
Date:
27.05.2009

Definition at line 187 of file weHtmlEntity.h.


Constructor & Destructor Documentation

WeRefrenceObject::WeRefrenceObject ( iweEntity prnt = NULL  ) 

Default constructor.

Todo:
Implement this!

Definition at line 779 of file weHtmlEntity.cpp.

WeRefrenceObject::WeRefrenceObject ( WeRefrenceObject entity  ) 

Copy constructor.

Parameters:
entity - the entity to make copy of.

Todo:
Implement this!

Definition at line 792 of file weHtmlEntity.cpp.

WeRefrenceObject::~WeRefrenceObject (  ) 

Destructor.

Todo:
Implement this!

Definition at line 803 of file weHtmlEntity.cpp.


Member Function Documentation

bool const WeRefrenceObject::IsLocal ( void   )  const [inline]

Is the object's data local.

Return values:
true if object has locally linked data.

Definition at line 213 of file weHtmlEntity.h.

void WeRefrenceObject::LocalLink ( string  local  )  [inline]

Access the LocalLink property.

This property allows to use the local copy of the linked objects, and have following format:

  • empty - no linked data stored, only remote copy is available
  • data - linked object is stored inside the blob
  • <EntityID> - linked object stored in the WeHtmlEntity. The ID of the WeHtmlEntity points the object that contains data.

Definition at line 204 of file weHtmlEntity.h.

string WeRefrenceObject::LocalLink ( void   )  const [inline]

Access the LocalLink property.

This property allows to use the local copy of the linked objects, and have following format:

  • empty - no linked data stored, only remote copy is available
  • data - linked object is stored inside the blob
  • <EntityID> - linked object stored in the WeHtmlEntity. The ID of the WeHtmlEntity points the object that contains data.

Definition at line 203 of file weHtmlEntity.h.


The documentation for this class was generated from the following files:


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads