21 class CFileAttributes;
24 class CGarbageCollector;
30 # include "file_attribute.conf"
45 , public CFileAttributes
55 EVENT_ID_ADD_VARIABLE_GROUP, EVENT_ID_CREATE_ENABLED_FIELDS
64 CFile(
const CFile& file);
65 CFile(
const CFile*
const file);
72 const StdString getFileOutputName(
void)
const;
73 std::shared_ptr<CDataOutput> getDataOutput(
void)
const;
74 std::shared_ptr<CDataInput> getDataInput(
void)
const;
75 CFieldGroup* getVirtualFieldGroup(
void)
const;
76 CVariableGroup* getVirtualVariableGroup(
void)
const;
77 std::vector<CField*> getAllFields(
void)
const;
78 std::vector<CVariable*> getAllVariables(
void)
const;
80 std::vector<CField* > getEnabledFields(
int default_outputlevel = 5,
81 int default_level = 1,
82 bool default_enabled =
true);
88 bool isSyncTime(
void);
89 bool checkSplit(
void);
91 void checkWriteFile(
void);
92 void checkReadFile(
void);
99 void setVirtualFieldGroup(CFieldGroup* newVFieldGroup);
100 void setVirtualVariableGroup(CVariableGroup* newVVariableGroup);
102 void createHeader(
void);
103 void openInReadMode(
void);
105 void readAttributesOfEnabledFieldsInReadMode();
108 void solveFieldRefInheritance(
bool apply);
109 void processEnabledFile(
void);
110 void solveOnlyRefOfEnabledFields(
bool sendToServer);
111 void generateNewTransformationGridDest();
114 void postProcessFilterGraph();
115 void prefetchEnabledReadModeFields();
116 void doPreTimestepOperationsForEnabledReadModeFields();
117 void doPostTimestepOperationsForEnabledReadModeFields();
119 void solveAllRefOfEnabledFieldsAndTransform(
bool sendToServer);
120 void checkGridOfEnabledFields();
121 void sendGridOfEnabledFields();
122 void sendGridComponentOfEnabledFields();
124 void sortEnabledFieldsForUgrid();
127 CField* addField(
const string&
id =
"");
128 CFieldGroup* addFieldGroup(
const string&
id =
"");
129 CVariable* addVariable(
const string&
id =
"");
130 CVariableGroup* addVariableGroup(
const string&
id =
"");
142 void sendAddVariableGroup(
const string&
id,
CContextClient* client);
149 void recvAddFieldGroup(
CBufferIn& buffer);
153 void recvAddVariableGroup(
CBufferIn& buffer);
166 virtual void solveDescInheritance(
bool apply,
const CAttributeMap*
const parent = 0);
180 void createSubComFile();
210 #endif // __XIOS_CFile__
CVariableGroup * vVariableGroup
#define END_DECLARE_ATTRIBUTE_MAP(type)
std::shared_ptr< CDataOutput > data_out
std::vector< CField * > enabledFields
////////////////////// Déclarations ////////////////////// ///
CContextClient * read_client
#define BEGIN_DECLARE_ATTRIBUTE_MAP(type)
A context can be both on client and on server side.
////////////////////// Déclarations ////////////////////// ///
CFieldGroup * vFieldGroup
CObjectTemplate< CFile > SuperClass
typedef ///
enum xios::_node_type ENodeType
////////////////////// Définitions ////////////////////// ///
CContextClient * client
Propriétés privées ///.
std::shared_ptr< CDataInput > data_in
A basic garbage collector which ensures no old packets linger in the filter graph.
CFileAttributes RelAttributes
CFileAttributes SuperClassAttribute