/ MGOCOL public constructor. */ /
| 395 | /* MGOCOL public constructor. */ |
| 396 | /***********************************************************************/ |
| 397 | MGOCOL::MGOCOL(PGLOBAL g, PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i) |
| 398 | : EXTCOL(cdp, tdbp, cprec, i, "MGO") |
| 399 | { |
| 400 | Tmgp = (PTDBCMG)(tdbp->GetOrig() ? tdbp->GetOrig() : tdbp); |
| 401 | Sgfy = Stringified(Tmgp->Strfy, Name); |
| 402 | |
| 403 | if ((Jpath = cdp->GetFmt())) { |
| 404 | int n = strlen(Jpath) - 1; |
| 405 | |
| 406 | if (Jpath[n] == '*') { |
| 407 | Jpath = PlugDup(g, cdp->GetFmt()); |
| 408 | if (Jpath[n - 1] == '.') n--; |
| 409 | Jpath[n] = 0; |
| 410 | Sgfy = true; |
| 411 | } // endif Jpath |
| 412 | |
| 413 | } else |
| 414 | Jpath = cdp->GetName(); |
| 415 | |
| 416 | } // end of MGOCOL constructor |
| 417 | |
| 418 | /***********************************************************************/ |
| 419 | /* MGOCOL constructor used for copying columns. */ |
nothing calls this directly
no test coverage detected