| 404 | } |
| 405 | |
| 406 | std::string cVector::name(int n, int *lN) const |
| 407 | { |
| 408 | if ((fmeta!=NULL)&&(fmeta->field!=NULL)) { |
| 409 | int llN=-1; |
| 410 | const char *t = fmeta->getName(n,&llN); |
| 411 | if (lN!=NULL) *lN = llN; |
| 412 | if (llN>=0) { |
| 413 | char *ntmp=myvprint("%s[%i]",t,llN); |
| 414 | std::string n = ntmp; |
| 415 | free(ntmp); |
| 416 | return n; |
| 417 | } else { |
| 418 | return t; |
| 419 | } |
| 420 | } |
| 421 | return std::string(); |
| 422 | } |
| 423 | |
| 424 | void cVector::setTimeMeta(TimeMetaInfo *xtmeta) { |
| 425 | if ((tmeta != NULL)&&(!tmetaAlien)) { |