Revision 1247 trunk/src/linad99/lvector.cpp

lvector.cpp (revision 1247)
24 24
void denormalize_ptr(void * ptr, unsigned int byte_offset);
25 25

  
26 26
/**
27
 * Description not yet available.
28
 * \param
29
 */
30
 lvector::~lvector()
31
 {
27
Destructor
28
*/
29
lvector::~lvector()
30
{
32 31
   if (shape)
33 32
   {
34 33
     if (shape->ncopies)
......
54 53
   {
55 54
     cerr << "Trying to delete an unallocated lvector" << endl;
56 55
   }
57
 }
58

  
56
}
59 57
/**
60
 * Description not yet available.
61
 * \param
62
 */
58
Copy constructor
59
*/
63 60
lvector::lvector(const lvector& t)
64
 {
65
   shape=t.shape;
66
   (shape->ncopies)++;
67
   v = t.v;
68
 }
69

  
61
{
62
  shape=t.shape;
63
  (shape->ncopies)++;
64
  v = t.v;
65
}
70 66
/**
71
 * Description not yet available.
72
 * \param
73
 */
74
 lvector::lvector(void)
75
 {
76
   allocate();
77
 }
78

  
67
Default constructor
68
*/
69
lvector::lvector(void)
70
{
71
  allocate();
72
}
79 73
/**
80 74
 * Description not yet available.
81 75
 * \param

Also available in: Unified diff