Commit 9fd58eaa2666c067355c03e1895261996e5dcae1
1 parent
9bd78550
Correct pointer container class interface.
Showing
1 changed file
with
13 additions
and
2 deletions
doc/dev/coding/gammalib_coding.tex
| ... | ... | @@ -483,7 +483,10 @@ GLog& operator<< (GLog& log, const GFits& fits) |
| 483 | 483 | \end{verbatim} |
| 484 | 484 | |
| 485 | 485 | |
| 486 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| 487 | +\subsection{Python classes} | |
| 486 | 488 | |
| 489 | +TBW | |
| 487 | 490 | |
| 488 | 491 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 489 | 492 | % Design Conventsions |
| ... | ... | @@ -526,7 +529,6 @@ Method & Usage \\ |
| 526 | 529 | {\tt void size()} & Return number of elements in container \\ |
| 527 | 530 | {\tt void append(const e\&)} & Append an element to the container \\ |
| 528 | 531 | {\tt void insert(const int\&, const e\&)} & Insert an element into the container \\ |
| 529 | -{\tt void set(const int\&, const e\&)} & Set an element of the container \\ | |
| 530 | 532 | {\tt void extend(const C\&)} & Append another container to the container \\ |
| 531 | 533 | {\tt void pop(const int\&)} & Removes an element from the container \\ |
| 532 | 534 | {\tt std::string print()} & Print container (see section \ref{sec:output}) \\ |
| ... | ... | @@ -556,11 +558,11 @@ Method & Usage \\ |
| 556 | 558 | \noalign{\smallskip} |
| 557 | 559 | {\tt e* operator[](const int\&)} & Element access operator \\ |
| 558 | 560 | {\tt const e* operator[](const int\&) const} & Element access operator \\ |
| 561 | +{\tt void set(const int\&, const e*)} & Set an element of the container \\ | |
| 559 | 562 | {\tt void clear()} & Delete all objects in container \\ |
| 560 | 563 | {\tt void size()} & Return number of elements in container \\ |
| 561 | 564 | {\tt void append(const e\&)} & Append an element to the container \\ |
| 562 | 565 | {\tt void insert(const int\&, const e\&)} & Insert an element into the container \\ |
| 563 | -{\tt void set(const int\&, const e\&)} & Set an element of the container \\ | |
| 564 | 566 | {\tt void extend(const C\&)} & Append another container to the container \\ |
| 565 | 567 | {\tt void pop(const int\&)} & Removes an element from the container \\ |
| 566 | 568 | {\tt std::string print()} & Print container (see section \ref{sec:output}) \\ |
| ... | ... | @@ -573,6 +575,15 @@ Method & Usage \\ |
| 573 | 575 | |
| 574 | 576 | |
| 575 | 577 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 578 | +\subsection{Python classes} | |
| 579 | + | |
| 580 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| 581 | +\subsubsection{Container classes} | |
| 582 | + | |
| 583 | +TBW | |
| 584 | + | |
| 585 | + | |
| 586 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| 576 | 587 | % Documentation |
| 577 | 588 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 578 | 589 | \section{Documentation} | ... | ... |