Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Private Attributes
ICalValue Class Reference

#include <icalvalue_cxx.h>

List of all members.

Public Member Functions

 ICalValue () throw (icalerrorenum)
 ICalValue (const ICalValue &) throw (icalerrorenum)
ICalValueoperator= (const ICalValue &) throw (icalerrorenum)
 ~ICalValue ()
 ICalValue (icalvalue *) throw (icalerrorenum)
 ICalValue (icalvalue_kind kind) throw (icalerrorenum)
 ICalValue (icalvalue_kind kind, string str) throw (icalerrorenum)
 operator icalvalue * ()
void detach ()
string as_ical_string ()
bool is_valid ()
icalvalue_kind isa ()
int isa_value (void *)
void set_recur (struct icalrecurrencetype v)
struct icalrecurrencetype get_recur ()
void set_trigger (struct icaltriggertype v)
struct icaltriggertype get_trigger ()
void set_datetimeperiod (struct icaldatetimeperiodtype v)
struct icaldatetimeperiodtype get_datetimeperiod ()
string kind_to_string (icalvalue_kind kind)
int get_boolean ()
void set_boolean (int v)
int get_utcoffset ()
void set_utcoffset (int v)
enum icalproperty_method get_method ()
void set_method (enum icalproperty_method v)
string get_caladdress ()
void set_caladdress (string v)
struct icalperiodtype get_period ()
void set_period (struct icalperiodtype v)
enum icalproperty_status get_status ()
void set_status (enum icalproperty_status v)
string get_binary ()
void set_binary (string v)
string get_text ()
void set_text (string v)
struct icaldurationtype get_duration ()
void set_duration (struct icaldurationtype v)
int get_integer ()
void set_integer (int v)
string get_uri ()
void set_uri (string v)
icalattach * get_attach ()
void set_attach (icalattach *v)
enum icalproperty_class get_class ()
void set_class (enum icalproperty_class v)
float get_float ()
void set_float (float v)
string get_query ()
void set_query (string v)
string get_string ()
void set_string (string v)
enum icalproperty_transp get_transp ()
void set_transp (enum icalproperty_transp v)
struct icaltimetype get_datetime ()
void set_datetime (struct icaltimetype v)
struct icalgeotype get_geo ()
void set_geo (struct icalgeotype v)
struct icaltimetype get_date ()
void set_date (struct icaltimetype v)
enum icalproperty_action get_action ()
void set_action (enum icalproperty_action v)

Static Public Member Functions

static
icalparameter_xliccomparetype 
compare (ICalValue &a, ICalValue &b)
static icalvalue_kind string_to_kind (string str)

Private Attributes

icalvalue * imp

Detailed Description

Definition at line 19 of file icalvalue_cxx.h.


Constructor & Destructor Documentation

Definition at line 14 of file icalvalue_cxx.cpp.

Definition at line 16 of file icalvalue_cxx.cpp.

                                                             {
       imp = icalvalue_new_clone(v.imp);
       if (!imp) throw icalerrno;
}

Here is the call graph for this function:

Definition at line 33 of file icalvalue_cxx.cpp.

                     {
       if (imp != NULL) icalvalue_free(imp);
}

Here is the call graph for this function:

ICalValue::ICalValue ( icalvalue *  v) throw (icalerrorenum)

Definition at line 37 of file icalvalue_cxx.cpp.

                                                      : imp(v){
}

Definition at line 40 of file icalvalue_cxx.cpp.

                                                             {
       imp = icalvalue_new(kind);
       if (!imp) throw icalerrno;
}

Here is the call graph for this function:

Definition at line 45 of file icalvalue_cxx.cpp.

                                                                          {
       imp = icalvalue_new_from_string(kind, str);
       if (!imp) throw icalerrno;
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 50 of file icalvalue_cxx.cpp.

                                {
       return (string)icalvalue_as_ical_string(imp);
}

Here is the call graph for this function:

Definition at line 84 of file icalvalue_cxx.cpp.

                                                                          {
       return icalvalue_compare(a, b);
}

Here is the call graph for this function:

void ICalValue::detach ( ) [inline]

Definition at line 32 of file icalvalue_cxx.h.

                     {
           imp = NULL;
       }

Definition at line 257 of file icalvalue_cxx.cpp.

                                              {
       return icalvalue_get_action(imp);
} 

Here is the call graph for this function:

icalattach * ICalValue::get_attach ( )

Definition at line 185 of file icalvalue_cxx.cpp.

                                 {
       return icalvalue_get_attach(imp);
} 

Here is the call graph for this function:

Definition at line 145 of file icalvalue_cxx.cpp.

                            {
       return (string)icalvalue_get_binary(imp);
} 

Here is the call graph for this function:

Definition at line 97 of file icalvalue_cxx.cpp.

                          {
       return icalvalue_get_boolean(imp);
} 

Here is the call graph for this function:

Definition at line 121 of file icalvalue_cxx.cpp.

                                {
       return (string)icalvalue_get_caladdress(imp);
} 

Here is the call graph for this function:

Definition at line 193 of file icalvalue_cxx.cpp.

                                            {
       return icalvalue_get_class(imp);
} 

Here is the call graph for this function:

struct icaltimetype ICalValue::get_date ( ) [read]

Definition at line 249 of file icalvalue_cxx.cpp.

                                       {
       return icalvalue_get_date(imp);
} 

Here is the call graph for this function:

Definition at line 233 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 80 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 161 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 201 of file icalvalue_cxx.cpp.

                          {
       return icalvalue_get_float(imp);
} 

Here is the call graph for this function:

struct icalgeotype ICalValue::get_geo ( ) [read]

Definition at line 241 of file icalvalue_cxx.cpp.

                                     {
       return icalvalue_get_geo(imp);
} 

Here is the call graph for this function:

Definition at line 169 of file icalvalue_cxx.cpp.

                          {
       return icalvalue_get_integer(imp);
} 

Here is the call graph for this function:

Definition at line 113 of file icalvalue_cxx.cpp.

                                              {
       return icalvalue_get_method(imp);
} 

Here is the call graph for this function:

Definition at line 129 of file icalvalue_cxx.cpp.

                                           {
       return icalvalue_get_period(imp);
} 

Here is the call graph for this function:

Definition at line 209 of file icalvalue_cxx.cpp.

                           {
       return (string)icalvalue_get_query(imp);
} 

Here is the call graph for this function:

Definition at line 68 of file icalvalue_cxx.cpp.

                                              {
       return icalvalue_get_recur(imp);
}

Here is the call graph for this function:

Definition at line 137 of file icalvalue_cxx.cpp.

                                              {
       return icalvalue_get_status(imp);
} 

Here is the call graph for this function:

Definition at line 217 of file icalvalue_cxx.cpp.

                            {
       return (string)icalvalue_get_string(imp);
} 

Here is the call graph for this function:

Definition at line 153 of file icalvalue_cxx.cpp.

                          {
       return (string)icalvalue_get_text(imp);
} 

Here is the call graph for this function:

Definition at line 225 of file icalvalue_cxx.cpp.

                                              {
       return icalvalue_get_transp(imp);
} 

Here is the call graph for this function:

Definition at line 73 of file icalvalue_cxx.cpp.

                                             {
       return icalvalue_get_trigger(imp);
}

Here is the call graph for this function:

Definition at line 177 of file icalvalue_cxx.cpp.

                         {
       return (string)icalvalue_get_uri(imp);
} 

Here is the call graph for this function:

Definition at line 105 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 53 of file icalvalue_cxx.cpp.

                        {
       if (imp == NULL) return false;
       return (icalvalue_is_valid(imp) ? true : false);
}

Here is the call graph for this function:

Definition at line 57 of file icalvalue_cxx.cpp.

                             {
       return icalvalue_isa(imp);
}

Here is the call graph for this function:

Definition at line 60 of file icalvalue_cxx.cpp.

                                   {
       return icalvalue_isa_value(value);
}

Here is the call graph for this function:

Definition at line 92 of file icalvalue_cxx.cpp.

                                                   {
       return (string)icalvalue_kind_to_string(kind);
}

Here is the call graph for this function:

ICalValue::operator icalvalue * ( ) [inline]

Definition at line 30 of file icalvalue_cxx.h.

{ return imp; }
ICalValue & ICalValue::operator= ( const ICalValue v) throw (icalerrorenum)

Definition at line 20 of file icalvalue_cxx.cpp.

                                                                       {
       if (this == &v) return *this;

       if (imp != NULL)
       {
              icalvalue_free(imp);
              imp = icalvalue_new_clone(v.imp);
              if (!imp) throw icalerrno;
       }

       return *this;
}

Here is the call graph for this function:

Definition at line 260 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

void ICalValue::set_attach ( icalattach *  v)

Definition at line 188 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 148 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 100 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 124 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 196 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 252 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 236 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 77 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 164 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

void ICalValue::set_float ( float  v)

Definition at line 204 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 244 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 172 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 116 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 132 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 212 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 65 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 140 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 220 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 156 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 228 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 72 of file icalvalue_cxx.cpp.

{}

Definition at line 180 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 108 of file icalvalue_cxx.cpp.

Here is the call graph for this function:

Definition at line 89 of file icalvalue_cxx.cpp.

Here is the call graph for this function:


Member Data Documentation

icalvalue* ICalValue::imp [private]

Definition at line 145 of file icalvalue_cxx.h.


The documentation for this class was generated from the following files: