My Project
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
resqml2::AbstractLocal3dCrs Class Referenceabstract
Inheritance diagram for resqml2::AbstractLocal3dCrs:
common::AbstractObject resqml2_0_1::LocalDepth3dCrs resqml2_0_1::LocalTime3dCrs

Public Member Functions

virtual ~AbstractLocal3dCrs ()
 
void addRepresentation (class AbstractRepresentation *rep)
 
double getOriginOrdinal1 () const
 
double getOriginOrdinal2 () const
 
double getOriginDepthOrElevation () const
 
double getArealRotation () const
 
bool isDepthOriented () const
 
bool isProjectedCrsDefinedWithEpsg () const
 
virtual bool isProjectedCrsUnknown () const
 
const std::string & getProjectedCrsUnknownReason () const
 
unsigned long long getProjectedCrsEpsgCode () const
 
bool isVerticalCrsDefinedWithEpsg () const
 
bool isVerticalCrsUnknown () const
 
const std::string & getVerticalCrsUnknownReason () const
 
unsigned long long getVerticalCrsEpsgCode () const
 
std::string getVerticalCrsUnitAsString () const
 
gsoap_resqml2_0_1::eml20__PlaneAngleUom getArealRotationUom () const
 
gsoap_resqml2_0_1::eml20__LengthUom getProjectedCrsUnit () const
 
std::string getProjectedCrsUnitAsString () const
 
gsoap_resqml2_0_1::eml20__LengthUom getVerticalCrsUnit () const
 
gsoap_resqml2_0_1::eml20__AxisOrder2d getAxisOrder () const
 
void convertXyzPointsToGlobalCrs (double *xyzPoints, const ULONG64 &xyzPointCount, bool withoutTranslation=false) const
 
- Public Member Functions inherited from common::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
 
gsoap_eml2_1::eml21__DataObjectReference * newEmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getXmlTag () const =0
 
virtual std::string getResqmlVersion () const
 
virtual std::string getContentType () const
 
virtual std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< resqml2::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
resqml2::ActivitygetActivity (const unsigned int &index) const
 
void pushBackExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::vector< std::string > getExtraMetadata (const std::string &key) const
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Protected Member Functions

 AbstractLocal3dCrs (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractLocal3dCrs (gsoap_resqml2_0_1::resqml2__AbstractLocal3dCrs *fromGsoap)
 
virtual double getZOffset () const =0
 
std::vector< epc::RelationshipgetAllEpcRelationships () const
 
void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from common::AbstractObject
 AbstractObject ()
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API.
 
 AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy)
 
 AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void cannotBePartial () const
 
void changeToPartialObject ()
 

Protected Attributes

std::vector< class AbstractRepresentation * > repSet
 
std::vector< MdDatum * > mdDatumSet
 
- Protected Attributes inherited from common::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Friends

void MdDatum::setLocalCrs (AbstractLocal3dCrs *localCrs)
 

Additional Inherited Members

- Protected Types inherited from common::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Static Protected Member Functions inherited from common::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 

Constructor & Destructor Documentation

resqml2::AbstractLocal3dCrs::AbstractLocal3dCrs ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inlineprotected

Only to be used in partial transfer context

resqml2::AbstractLocal3dCrs::AbstractLocal3dCrs ( gsoap_resqml2_0_1::resqml2__AbstractLocal3dCrs *  fromGsoap)
inlineprotected

Creates an instance of this class by wrapping a gsoap instance.

virtual resqml2::AbstractLocal3dCrs::~AbstractLocal3dCrs ( )
inlinevirtual

Destructor does nothing since the memory is manged by the gsoap context.

Member Function Documentation

void AbstractLocal3dCrs::addRepresentation ( class AbstractRepresentation rep)

Add a geometrical representation which is based on this local CRS Does not add the inverse relationship i.e. from the geometrical representation to this local CRS.

vector< Relationship > AbstractLocal3dCrs::getAllEpcRelationships ( ) const
protectedvirtual

Return all relationships (backward and forward ones) of the instance using EPC format.

Implements common::AbstractObject.

double AbstractLocal3dCrs::getArealRotation ( ) const

Get the rotation in radians of the the local Y axis relative to the global projected axis which is 90 degrees counter-clockwise from the other global axis. A positive value indicates a clockwise rotation from the global axis. A negative value indicates a counterclockwise rotation form the global axis.

gsoap_resqml2_0_1::eml20__AxisOrder2d AbstractLocal3dCrs::getAxisOrder ( ) const

Get the axis order of the projected Crs

double AbstractLocal3dCrs::getOriginDepthOrElevation ( ) const

Get the depth or elevation origin of this local CRS in the global vertical CRS. If this local CRS is a time CRS, this value defines the Seismic Reference Datum.

double AbstractLocal3dCrs::getOriginOrdinal1 ( ) const

Get the first origin ordinal (usually called X) of the local CRS in the global projected CRS.

double AbstractLocal3dCrs::getOriginOrdinal2 ( ) const

Get the second origin ordinal (usually called Y) of the local CRS in the global projected CRS.

unsigned long long AbstractLocal3dCrs::getProjectedCrsEpsgCode ( ) const

Get the EPSG code of the projected CRS

gsoap_resqml2_0_1::eml20__LengthUom AbstractLocal3dCrs::getProjectedCrsUnit ( ) const

Get the projected crs unit

string AbstractLocal3dCrs::getProjectedCrsUnitAsString ( ) const

Get the projected crs unit as a string

const std::string & AbstractLocal3dCrs::getProjectedCrsUnknownReason ( ) const

Get the reason why the projected Crs is unknown.

unsigned long long AbstractLocal3dCrs::getVerticalCrsEpsgCode ( ) const

Get the EPSG code of the vertical CRS

gsoap_resqml2_0_1::eml20__LengthUom AbstractLocal3dCrs::getVerticalCrsUnit ( ) const

Get the vertical crs unit

string AbstractLocal3dCrs::getVerticalCrsUnitAsString ( ) const

Get the vertical crs unit as a string

const std::string & AbstractLocal3dCrs::getVerticalCrsUnknownReason ( ) const

Get the reason why the vertical Crs is unknown.

virtual double resqml2::AbstractLocal3dCrs::getZOffset ( ) const
protectedpure virtual

Get the Z offset which is always equal to zero for a time CRS. Don't mix zOffset vs depthOffset : the schema calls zOffset what is actually a depthOrElevationOffset.

void resqml2::AbstractLocal3dCrs::importRelationshipSetFromEpc ( common::EpcDocument epcDoc)
inlineprotectedvirtual

Resolve all relationships of the object in an epc document

Implements common::AbstractObject.

bool AbstractLocal3dCrs::isDepthOriented ( ) const

Indicates if the depth or elevation values given in this local CRS are depth ones or elevation ones.

bool AbstractLocal3dCrs::isProjectedCrsDefinedWithEpsg ( ) const

Indicates either the associated projected Crs is identified by means of EPSG or not.

bool AbstractLocal3dCrs::isProjectedCrsUnknown ( ) const
virtual

Indicates either the associated projected Crs is unknown.

bool AbstractLocal3dCrs::isVerticalCrsDefinedWithEpsg ( ) const

Indicates either the associated vertical Crs is identified by means of EPSG or not.

bool AbstractLocal3dCrs::isVerticalCrsUnknown ( ) const

Indicates either the associated vertical Crs is unknown.


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