summaryrefslogtreecommitdiffstats
path: root/dev/a3-earthquake/earthquake.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/a3-earthquake/earthquake.h')
-rw-r--r--dev/a3-earthquake/earthquake.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/dev/a3-earthquake/earthquake.h b/dev/a3-earthquake/earthquake.h
deleted file mode 100644
index 74f95e3..0000000
--- a/dev/a3-earthquake/earthquake.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/** CSci-4611 Assignment 3: Earthquake
- */
-
-#ifndef EARTHQUAKE_H_
-#define EARTHQUAKE_H_
-
-#include <string>
-
-#include "date.h"
-
-/** Small data structure for storing earthquake data.
- */
-class Earthquake {
-public:
- // Create an earthquake from a datafile's line of text
- Earthquake(std::string s);
- Earthquake();
-
- Date date();
-
- double longitude();
-
- double latitude();
-
- double magnitude();
-
-private:
-
- double ParseFloat(std::string s);
- int ParseInt(std::string s);
-
- std::string line;
-};
-
-#endif