Last change
on this file since 2407 was
836,
checked in by mhnguyen, 8 years ago
|
Exposing transformation to Fortran interface
+) Export zoom and axis transformation to Fortran interface
Test
+) On Curie
+) All work
|
File size:
1.3 KB
|
Line | |
---|
1 | #include "inverse_axis.hpp" |
---|
2 | #include "type.hpp" |
---|
3 | |
---|
4 | namespace xios { |
---|
5 | |
---|
6 | /// ////////////////////// Définitions ////////////////////// /// |
---|
7 | |
---|
8 | CInverseAxis::CInverseAxis(void) |
---|
9 | : CObjectTemplate<CInverseAxis>(), CInverseAxisAttributes(), CTransformation<CAxis>() |
---|
10 | { /* Ne rien faire de plus */ } |
---|
11 | |
---|
12 | CInverseAxis::CInverseAxis(const StdString & id) |
---|
13 | : CObjectTemplate<CInverseAxis>(id), CInverseAxisAttributes(), CTransformation<CAxis>() |
---|
14 | { /* Ne rien faire de plus */ } |
---|
15 | |
---|
16 | CInverseAxis::~CInverseAxis(void) |
---|
17 | {} |
---|
18 | |
---|
19 | CTransformation<CAxis>* CInverseAxis::create(const StdString& id, xml::CXMLNode* node) |
---|
20 | { |
---|
21 | CInverseAxis* invAxis = CInverseAxisGroup::get("inverse_axis_definition")->createChild(id); |
---|
22 | if (node) invAxis->parse(*node); |
---|
23 | return static_cast<CTransformation<CAxis>*>(invAxis); |
---|
24 | } |
---|
25 | |
---|
26 | bool CInverseAxis::registerTrans() |
---|
27 | { |
---|
28 | return registerTransformation(TRANS_INVERSE_AXIS, CInverseAxis::create); |
---|
29 | } |
---|
30 | |
---|
31 | bool CInverseAxis::_dummyRegistered = CInverseAxis::registerTrans(); |
---|
32 | |
---|
33 | //---------------------------------------------------------------- |
---|
34 | StdString CInverseAxis::GetName(void) { return StdString("inverse_axis"); } |
---|
35 | StdString CInverseAxis::GetDefName(void) { return StdString("inverse_axis"); } |
---|
36 | ENodeType CInverseAxis::GetType(void) { return eInverseAxis; } |
---|
37 | |
---|
38 | void CInverseAxis::checkValid(CAxis* axisSrc) |
---|
39 | {} |
---|
40 | |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.