cctw  0.2.1
Classes | Macros | Functions
cctwunitcellproperty.h File Reference
#include "qcepproperty.h"
#include "cctwunitcell.h"
Include dependency graph for cctwunitcellproperty.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CctwUnitCellProperty
 

Macros

#define CCTW_UNITCELL_PROPERTY(propname)
 

Functions

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

Macro Definition Documentation

#define CCTW_UNITCELL_PROPERTY (   propname)

Definition at line 46 of file cctwunitcellproperty.h.

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