| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Friends
oracle::occi::IntervalYM Class Reference

`#include <occiData.h>`

List of all members.

## Public Member Functions

| IntervalYM ()
| IntervalYM (const Environment *env, int year=0, int month=0)
| IntervalYM (const IntervalYM &src)
| ~IntervalYM ()
int | getYear () const
int | getMonth () const
void | set (int year, int month)
void | setNull ()
void | fromText (const OCCI_STD_NAMESPACE::string &inpstr, const OCCI_STD_NAMESPACE::string &nlsParam="", const Environment *env=NULL)
OCCI_STD_NAMESPACE::string | toText (unsigned int lfprec, const OCCI_STD_NAMESPACE::string &nlsParam="") const
bool | isNull () const
IntervalYM & | operator= (const IntervalYM &src)
IntervalYM & | operator+= (const IntervalYM &a)
IntervalYM & | operator-= (const IntervalYM &a)
IntervalYM & | operator*= (const Number &factor)
IntervalYM & | operator/= (const Number &factor)
void | fromUText (const UString &inpstr, const Environment *env=NULL)
UString | toUText (unsigned int lfprec) const

## Friends

class | StatementImpl
class | ResultSetImpl
class | AnyDataImpl
bool | operator> (const IntervalYM &a, const IntervalYM &b)
bool | operator< (const IntervalYM &a, const IntervalYM &b)
bool | operator>= (const IntervalYM &a, const IntervalYM &b)
bool | operator<= (const IntervalYM &a, const IntervalYM &b)
const IntervalYM | Timestamp::subYM (const Timestamp &val) const
const Timestamp | Timestamp::intervalAdd (const IntervalYM &val) const
const Timestamp | Timestamp::intervalSub (const IntervalYM &val) const
void | getVector (ResultSet *rs, unsigned int, OCCI_STD_NAMESPACE::vector< IntervalYM > &vect)
void | getVector (Statement *rs, unsigned int, OCCI_STD_NAMESPACE::vector< IntervalYM > &vect)
void | do_setVectorOfIntervalYM (Statement *stmt, unsigned int paramIndex, const OCCI_STD_NAMESPACE::vector< IntervalYM > &vect, void *schemaName, unsigned int schemaNameLen, void *typeName, unsigned int typeNameLen)
void | getVector (const AnyData &any, OCCI_STD_NAMESPACE::vector< IntervalYM > &vect)
void | setVector (AnyData &any, const OCCI_STD_NAMESPACE::vector< IntervalYM > &vect)

## Constructor & Destructor Documentation

oracle::occi::IntervalYM::IntervalYM | ( |  | ) |

oracle::occi::IntervalYM::IntervalYM | ( | const Environment * | env,
|  | int | year = `0`,
|  | int | month = `0`
| ) |  |

oracle::occi::IntervalYM::IntervalYM | ( | const IntervalYM & | src | ) |

oracle::occi::IntervalYM::~IntervalYM | ( |  | ) |

## Member Function Documentation

void oracle::occi::IntervalYM::fromText | ( | const OCCI_STD_NAMESPACE::string & | inpstr,
|  | const OCCI_STD_NAMESPACE::string & | nlsParam = `""`,
|  | const Environment * | env = `NULL`
| ) |  |

void oracle::occi::IntervalYM::fromUText | ( | const UString & | inpstr,
|  | const Environment * | env = `NULL`
| ) |  |

int oracle::occi::IntervalYM::getMonth | ( |  | ) | const

int oracle::occi::IntervalYM::getYear | ( |  | ) | const

bool oracle::occi::IntervalYM::isNull | ( |  | ) | const

IntervalYM& oracle::occi::IntervalYM::operator*= | ( | const Number & | factor | ) |

IntervalYM& oracle::occi::IntervalYM::operator+= | ( | const IntervalYM & | a | ) |

IntervalYM& oracle::occi::IntervalYM::operator-= | ( | const IntervalYM & | a | ) |

IntervalYM& oracle::occi::IntervalYM::operator/= | ( | const Number & | factor | ) |

IntervalYM& oracle::occi::IntervalYM::operator= | ( | const IntervalYM & | src | ) |

void oracle::occi::IntervalYM::set | ( | int | year,
|  | int | month
| ) |  |

void oracle::occi::IntervalYM::setNull | ( |  | ) |

OCCI_STD_NAMESPACE::string oracle::occi::IntervalYM::toText | ( | unsigned int | lfprec,
|  | const OCCI_STD_NAMESPACE::string & | nlsParam = `""`
| ) |  | const

UString oracle::occi::IntervalYM::toUText | ( | unsigned int | lfprec | ) | const

## Friends And Related Function Documentation

friend class AnyDataImpl`[friend]`

void do_setVectorOfIntervalYM | ( | Statement * | stmt,
|  | unsigned int | paramIndex,
|  | const OCCI_STD_NAMESPACE::vector< IntervalYM > & | vect,
|  | void * | schemaName,
|  | unsigned int | schemaNameLen,
|  | void * | typeName,
|  | unsigned int | typeNameLen
| ) |  | `[friend]`

void getVector | ( | ResultSet * | rs,
|  | unsigned | int,
|  | OCCI_STD_NAMESPACE::vector< IntervalYM > & | vect
| ) |  | `[friend]`

void getVector | ( | Statement * | rs,
|  | unsigned | int,
|  | OCCI_STD_NAMESPACE::vector< IntervalYM > & | vect
| ) |  | `[friend]`

void getVector | ( | const AnyData & | any,
|  | OCCI_STD_NAMESPACE::vector< IntervalYM > & | vect
| ) |  | `[friend]`

bool operator< | ( | const IntervalYM & | a,
|  | const IntervalYM & | b
| ) |  | `[friend]`

bool operator<= | ( | const IntervalYM & | a,
|  | const IntervalYM & | b
| ) |  | `[friend]`

bool operator> | ( | const IntervalYM & | a,
|  | const IntervalYM & | b
| ) |  | `[friend]`

bool operator>= | ( | const IntervalYM & | a,
|  | const IntervalYM & | b
| ) |  | `[friend]`

friend class ResultSetImpl`[friend]`

void setVector | ( | AnyData & | any,
|  | const OCCI_STD_NAMESPACE::vector< IntervalYM > & | vect
| ) |  | `[friend]`

friend class StatementImpl`[friend]`

const Timestamp Timestamp::intervalAdd | ( | const IntervalYM & | val | ) | const`[friend]`

const Timestamp Timestamp::intervalSub | ( | const IntervalYM & | val | ) | const`[friend]`

const IntervalYM Timestamp::subYM | ( | const Timestamp & | val | ) | const`[friend]`

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Oracle/OCI/include/occiData.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines