Re: [IMP-dev] [IMP-commits] r1333 - in trunk/modules/em: include src
To:
Subject: Re: [IMP-dev] [IMP-commits] r1333 - in trunk/modules/em: include src
From: Keren Lasker <>
Date: Wed, 28 Jan 2009 15:30:06 -0800
Cc:
Reply-to: List for IMP development <>
Javi please update the SConsript files as well
On Jan 28, 2009, at 3:26 PM, Notification of IMP commits wrote:
Author:
Date: 2009-01-28 15:26:55 -0800 (Wed, 28 Jan 2009)
New Revision: 1333
Added:
trunk/modules/em/include/endian.h
trunk/modules/em/src/endian.cpp
Log:
Some small change to complete ImageHeader class
Added: trunk/modules/em/include/endian.h
===================================================================
--- trunk/modules/em/include/endian.h (rev 0)
+++ trunk/modules/em/include/endian.h 2009-01-28 23:26:55 UTC (rev
1333)
@@ -0,0 +1,61 @@
+/**
+ * \file endian.h
+ * \brief functions to deal with endian of EM images
+ * \author Javier Velazquez-Muriel
+ * Copyright 2007-8 Sali Lab. All rights reserved.
+*/
+
+#ifndef IMPEM_ENDIAN_H
+#define IMPEM_ENDIAN_H
+
+#include "em_exports.h"
+#include <iostream>
+#include <fstream>
+#include <cstring>
+#include <cstdio>
+
+IMPEM_BEGIN_NAMESPACE
+
+//! Reads from file in normal or reverse order
+/** \ingroup LittleBigEndian
+ * \param[in] reverse If true, the data will be read in reverse
order.