aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/OpenSimDataReader.cs
diff options
context:
space:
mode:
authorJeff Ames2008-01-14 22:37:45 +0000
committerJeff Ames2008-01-14 22:37:45 +0000
commit84c3a317c12984155a3ca6430c8804a348112dae (patch)
tree1f1943e7c0f4d25b27d7fd733b4d8f87481da758 /OpenSim/Framework/Data/OpenSimDataReader.cs
parent* Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to... (diff)
downloadopensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.zip
opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.tar.gz
opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.tar.bz2
opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.tar.xz
Set svn:eol-style.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data/OpenSimDataReader.cs78
1 files changed, 39 insertions, 39 deletions
diff --git a/OpenSim/Framework/Data/OpenSimDataReader.cs b/OpenSim/Framework/Data/OpenSimDataReader.cs
index 225df60..11a8b8b 100644
--- a/OpenSim/Framework/Data/OpenSimDataReader.cs
+++ b/OpenSim/Framework/Data/OpenSimDataReader.cs
@@ -1,39 +1,39 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Data; 3using System.Data;
4using System.Text; 4using System.Text;
5using libsecondlife; 5using libsecondlife;
6using TribalMedia.Framework.Data; 6using TribalMedia.Framework.Data;
7 7
8namespace OpenSim.Framework.Data 8namespace OpenSim.Framework.Data
9{ 9{
10 public class OpenSimDataReader : DataReader 10 public class OpenSimDataReader : DataReader
11 { 11 {
12 public OpenSimDataReader(IDataReader source) : base(source) 12 public OpenSimDataReader(IDataReader source) : base(source)
13 { 13 {
14 } 14 }
15 15
16 public LLVector3 GetVector(string s) 16 public LLVector3 GetVector(string s)
17 { 17 {
18 float x = GetFloat(s + "X"); 18 float x = GetFloat(s + "X");
19 float y = GetFloat(s + "Y"); 19 float y = GetFloat(s + "Y");
20 float z = GetFloat(s + "Z"); 20 float z = GetFloat(s + "Z");
21 21
22 LLVector3 vector = new LLVector3(x, y, z); 22 LLVector3 vector = new LLVector3(x, y, z);
23 23
24 return vector; 24 return vector;
25 } 25 }
26 26
27 public LLQuaternion GetQuaternion(string s) 27 public LLQuaternion GetQuaternion(string s)
28 { 28 {
29 float x = GetFloat(s + "X"); 29 float x = GetFloat(s + "X");
30 float y = GetFloat(s + "Y"); 30 float y = GetFloat(s + "Y");
31 float z = GetFloat(s + "Z"); 31 float z = GetFloat(s + "Z");
32 float w = GetFloat(s + "W"); 32 float w = GetFloat(s + "W");
33 33
34 LLQuaternion quaternion = new LLQuaternion(x, y, z, w); 34 LLQuaternion quaternion = new LLQuaternion(x, y, z, w);
35 35
36 return quaternion; 36 return quaternion;
37 } 37 }
38 } 38 }
39} 39}