cctw  0.2.1
Functions
cctwunitcellproperty.cpp File Reference
#include "cctwunitcellproperty.h"
#include "qcepmutexlocker.h"
#include "qcepdebug.h"
#include "qcepsettingssaver.h"
#include <QScriptEngine>
Include dependency graph for cctwunitcellproperty.cpp:

Go to the source code of this file.

Functions

QDataStream & operator<< (QDataStream &stream, const CctwUnitCell &cell)
 
QDataStream & operator>> (QDataStream &stream, CctwUnitCell &cell)
 

Function Documentation

QDataStream& operator<< ( QDataStream &  stream,
const CctwUnitCell cell 
)

Definition at line 121 of file cctwunitcellproperty.cpp.

References CctwUnitCell::a(), CctwUnitCell::alpha(), CctwUnitCell::b(), CctwUnitCell::beta(), CctwUnitCell::c(), and CctwUnitCell::gamma().

122 {
123  stream << cell.a();
124  stream << cell.b();
125  stream << cell.c();
126  stream << cell.alpha();
127  stream << cell.beta();
128  stream << cell.gamma();
129 
130  return stream;
131 }
double beta() const
double b() const
double a() const
double alpha() const
double gamma() const
double c() const
QDataStream& operator>> ( QDataStream &  stream,
CctwUnitCell cell 
)

Definition at line 133 of file cctwunitcellproperty.cpp.

References CctwUnitCell::a(), CctwUnitCell::alpha(), CctwUnitCell::b(), CctwUnitCell::beta(), CctwUnitCell::c(), and CctwUnitCell::gamma().

134 {
135  stream >> cell.a();
136  stream >> cell.b();
137  stream >> cell.c();
138  stream >> cell.alpha();
139  stream >> cell.beta();
140  stream >> cell.gamma();
141 
142  return stream;
143 }
double beta() const
double b() const
double a() const
double alpha() const
double gamma() const
double c() const