#include <llnotecard.h>
Collaboration diagram for LLNotecard:

| Public Types | |
| MAX_SIZE = 65536 | |
| enum | { MAX_SIZE = 65536 } | 
| anonymous enumeration to set max size.  More... | |
| Public Member Functions | |
| LLNotecard (S32 max_text=LLNotecard::MAX_SIZE) | |
| virtual | ~LLNotecard () | 
| bool | importStream (std::istream &str) | 
| bool | exportStream (std::ostream &str) | 
| const std::vector< LLPointer< LLInventoryItem > > & | getItems () const | 
| LLString & | getText () | 
| void | setItems (const std::vector< LLPointer< LLInventoryItem > > &items) | 
| void | setText (const LLString &text) | 
| S32 | getVersion () | 
| S32 | getEmbeddedVersion () | 
| Private Member Functions | |
| bool | importEmbeddedItemsStream (std::istream &str) | 
| bool | exportEmbeddedItemsStream (std::ostream &str) | 
| Private Attributes | |
| std::vector< LLPointer< LLInventoryItem > > | mItems | 
| LLString | mText | 
| S32 | mMaxText | 
| S32 | mVersion | 
| S32 | mEmbeddedVersion | 
Definition at line 38 of file llnotecard.h.
| anonymous enum | 
| LLNotecard::LLNotecard | ( | S32 | max_text = LLNotecard::MAX_SIZE | ) | 
Definition at line 36 of file llnotecard.cpp.
| LLNotecard::~LLNotecard | ( | ) |  [virtual] | 
Definition at line 41 of file llnotecard.cpp.
| bool LLNotecard::exportEmbeddedItemsStream | ( | std::ostream & | str | ) |  [private] | 
Definition at line 235 of file llnotecard.cpp.
References FALSE, llformat(), mItems, S32, and TRUE.
Referenced by exportStream().
| bool LLNotecard::exportStream | ( | std::ostream & | str | ) | 
Definition at line 265 of file llnotecard.cpp.
References exportEmbeddedItemsStream(), FALSE, llformat(), mText, and TRUE.
Referenced by LLViewerTextEditor::exportBuffer().
| S32 LLNotecard::getEmbeddedVersion | ( | ) |  [inline] | 
| const std::vector< LLPointer< LLInventoryItem > > & LLNotecard::getItems | ( | ) | const | 
Definition at line 284 of file llnotecard.cpp.
References mItems.
Referenced by LLViewerTextEditor::importStream().
| LLString & LLNotecard::getText | ( | ) | 
Definition at line 289 of file llnotecard.cpp.
References mText.
Referenced by LLViewerTextEditor::importStream().
| S32 LLNotecard::getVersion | ( | ) |  [inline] | 
Definition at line 60 of file llnotecard.h.
References mVersion.
Referenced by LLViewerTextEditor::importStream().
| bool LLNotecard::importEmbeddedItemsStream | ( | std::istream & | str | ) |  [private] | 
Definition at line 45 of file llnotecard.cpp.
References count, i, llendl, llinfos, llwarns, mEmbeddedVersion, mItems, and S32.
Referenced by importStream().
| bool LLNotecard::importStream | ( | std::istream & | str | ) | 
Definition at line 146 of file llnotecard.cpp.
References FALSE, fullread(), importEmbeddedItemsStream(), llendl, llwarns, mMaxText, mText, mVersion, S32, STD_STRING_BUF_SIZE, STD_STRING_STR_LEN, and TRUE.
Referenced by LLViewerTextEditor::importStream().
| void LLNotecard::setItems | ( | const std::vector< LLPointer< LLInventoryItem > > & | items | ) | 
Definition at line 294 of file llnotecard.cpp.
References mItems.
Referenced by LLViewerTextEditor::exportBuffer().
Definition at line 299 of file llnotecard.cpp.
References mText.
Referenced by LLViewerTextEditor::exportBuffer().
| S32 LLNotecard::mEmbeddedVersion  [private] | 
Definition at line 70 of file llnotecard.h.
Referenced by getEmbeddedVersion(), and importEmbeddedItemsStream().
| std::vector<LLPointer<LLInventoryItem> > LLNotecard::mItems  [private] | 
Definition at line 66 of file llnotecard.h.
Referenced by exportEmbeddedItemsStream(), getItems(), importEmbeddedItemsStream(), and setItems().
| S32 LLNotecard::mMaxText  [private] | 
| LLString LLNotecard::mText  [private] | 
Definition at line 67 of file llnotecard.h.
Referenced by exportStream(), getText(), importStream(), and setText().
| S32 LLNotecard::mVersion  [private] | 
 1.4.7
 1.4.7